summaryrefslogblamecommitdiffstats
path: root/cwd/assets/altcraft/shaders/frag/entity.fs
blob: a857da1cdc3867b8779861e5a4b5619ed8986580 (plain) (tree)
1
2
3
4
5
6
7
8
9

                 

                                      
                                     
 
                         

             

                                          
                                         
 
#version 330 core

layout (location = 0) out vec4 color;
layout (location = 1) out vec4 normal;
layout (location = 2) out vec4 light;

uniform vec3 entityColor;

void main() {
    color = vec4(entityColor, 1.0f);
    normal = vec4(0.0f, 0.0f, 0.0f, 1.0f);
    light = vec4(1.0f, 1.0f, 0.0f, 1.0f);
}