diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-13 19:45:54 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-13 19:45:54 +0000 |
commit | 8566e63b26f9e7ee809c03394743a0576c499378 (patch) | |
tree | cdcef5b698a224003ba54507dc24cbb27a57cbbe /gfx/gl/shaders/shadowFixedPoint.vs | |
parent | Add glContainer::at override to update a single item (diff) | |
download | ilt-8566e63b26f9e7ee809c03394743a0576c499378.tar.bz2 ilt-8566e63b26f9e7ee809c03394743a0576c499378.tar.xz ilt-8566e63b26f9e7ee809c03394743a0576c499378.zip |
We only need 3x3 matrix for model rotation spec
Diffstat (limited to 'gfx/gl/shaders/shadowFixedPoint.vs')
-rw-r--r-- | gfx/gl/shaders/shadowFixedPoint.vs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shaders/shadowFixedPoint.vs b/gfx/gl/shaders/shadowFixedPoint.vs index 168d5f1..307aac2 100644 --- a/gfx/gl/shaders/shadowFixedPoint.vs +++ b/gfx/gl/shaders/shadowFixedPoint.vs @@ -4,7 +4,7 @@ include(`meshIn.glsl') uniform mat4 viewProjection; uniform ivec3 viewPoint; -const mat4 model = mat4(1); +const mat3 model = mat3(1); const ivec3 modelPos = ivec3(0); include(`commonShadowPoint.glsl') |