summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/dynamicPointInst.vs
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-18 01:00:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-18 01:00:41 +0100
commit97cab8953bfcc8a6d4ae6e327ec57a6d70f8d7e4 (patch)
tree871704fdcc0205770d9cda1f9f3df1c30b79c74f /gfx/gl/shaders/dynamicPointInst.vs
parentSpecialize vertexAttribFunc for matrices because there's an upper limit of si... (diff)
downloadilt-97cab8953bfcc8a6d4ae6e327ec57a6d70f8d7e4.tar.bz2
ilt-97cab8953bfcc8a6d4ae6e327ec57a6d70f8d7e4.tar.xz
ilt-97cab8953bfcc8a6d4ae6e327ec57a6d70f8d7e4.zip
Fix location of model matrix in vertex shader
Diffstat (limited to 'gfx/gl/shaders/dynamicPointInst.vs')
-rw-r--r--gfx/gl/shaders/dynamicPointInst.vs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shaders/dynamicPointInst.vs b/gfx/gl/shaders/dynamicPointInst.vs
index 016153a..1c66979 100644
--- a/gfx/gl/shaders/dynamicPointInst.vs
+++ b/gfx/gl/shaders/dynamicPointInst.vs
@@ -1,7 +1,7 @@
#version 330 core
include(`meshIn.glsl')
-layout(location = 6) in mat4 model;
+layout(location = 5) in mat4 model;
include(`materialInterface.glsl')
uniform mat4 viewProjection;