diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-18 01:00:41 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-18 01:00:41 +0100 |
commit | 97cab8953bfcc8a6d4ae6e327ec57a6d70f8d7e4 (patch) | |
tree | 871704fdcc0205770d9cda1f9f3df1c30b79c74f /gfx/gl/shaders/dynamicPointInst.vs | |
parent | Specialize vertexAttribFunc for matrices because there's an upper limit of si... (diff) | |
download | ilt-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.vs | 2 |
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; |