summaryrefslogblamecommitdiffstats
path: root/cwd/assets/altcraft/shaders/vert/entity.vs
blob: b2f1db66e11b35cd8e7fa7d54701d62daf14c346 (plain) (tree)
1
2
3
4
5
6

                 
            
 

                   






                                 
             
                                                  
 
#version 330 core

in vec3 pos;

uniform mat4 model;

layout (std140) uniform Globals {
    mat4 projView;
    uvec2 viewportSize;
    float globalTime;
    float dayTime;
};

void main() {
    gl_Position = projView * model * vec4(pos, 1);
}