From 8566e63b26f9e7ee809c03394743a0576c499378 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 13 Jan 2024 19:45:54 +0000 Subject: We only need 3x3 matrix for model rotation spec --- gfx/gl/shaders/fixedPoint.vs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/gl/shaders/fixedPoint.vs') diff --git a/gfx/gl/shaders/fixedPoint.vs b/gfx/gl/shaders/fixedPoint.vs index 3cea737..5cfe9b3 100644 --- a/gfx/gl/shaders/fixedPoint.vs +++ b/gfx/gl/shaders/fixedPoint.vs @@ -6,7 +6,7 @@ include(`materialInterface.glsl') uniform mat4 viewProjection; uniform ivec3 viewPoint; -const mat4 model = mat4(1); +const mat3 model = mat3(1); const vec3 modelPos = ivec3(0); include(`commonPoint.glsl') -- cgit v1.2.3