summaryrefslogtreecommitdiff
path: root/assets/shaders/shadows.vert
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-23 01:11:28 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-23 01:11:28 +1000
commit17f0db6607534c5bf1ba96153fabd3fdbb399ed9 (patch)
treec6531c6c688e9719817ac4c06127affc1313f5d3 /assets/shaders/shadows.vert
parentd20356fd426ccea1866fbda798864a378303bbbd (diff)
wip: debug quad shader
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);
}