summaryrefslogtreecommitdiff
path: root/assets/shaders/shadows.vert
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/shadows.vert')
-rw-r--r--assets/shaders/shadows.vert6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/shaders/shadows.vert b/assets/shaders/shadows.vert
index 00b1a81..1d1c59a 100644
--- a/assets/shaders/shadows.vert
+++ b/assets/shaders/shadows.vert
@@ -8,12 +8,12 @@ layout(location = 2) in vec2 inTexCoords;
// Uniforms
uniform Model {
mat4 mat;
-};
+} model;
uniform LightSpace {
mat4 mat;
-};
+} lightSpace;
void main() {
- gl_Position = LightSpace.mat * Model.mat * vec4(inPosition, 1.0);
+ gl_Position = lightSpace.mat * model.mat * vec4(inPosition, 1.0);
}