From 17f0db6607534c5bf1ba96153fabd3fdbb399ed9 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 23 Jun 2024 01:11:28 +1000 Subject: wip: debug quad shader --- assets/shaders/shadows.vert | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'assets/shaders/shadows.vert') 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); } -- cgit v1.2.3-70-g09d2