summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/shaders/vert/entity.vs
blob: 8cc7f6945a95539a3a37d63bf7147f29b2f8d7f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#version 330 core

in vec3 pos;

uniform mat4 model;

layout (std140) uniform Globals {
    mat4 projView;
    mat4 proj;
    mat4 invProj;
    mat4 view;
    uvec2 viewportSize;
    vec4 ssaoKernels[64];
    float globalTime;
    float dayTime;
    float gamma;
};

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