summaryrefslogtreecommitdiffstats
path: root/cwd
diff options
context:
space:
mode:
Diffstat (limited to 'cwd')
-rw-r--r--cwd/assets/altcraft/shaders/vert/face.vs5
1 files changed, 4 insertions, 1 deletions
diff --git a/cwd/assets/altcraft/shaders/vert/face.vs b/cwd/assets/altcraft/shaders/vert/face.vs
index ac92831..d73e164 100644
--- a/cwd/assets/altcraft/shaders/vert/face.vs
+++ b/cwd/assets/altcraft/shaders/vert/face.vs
@@ -13,9 +13,12 @@ out vec3 faceNormal;
out vec3 faceAddColor;
out vec2 faceLight;
-uniform mat4 projView;
uniform float GlobalTime;
+layout (std140) uniform Globals {
+ mat4 projView;
+};
+
void main() {
gl_Position = projView * vec4(position[gl_VertexID], 1.0f);