From 97cab8953bfcc8a6d4ae6e327ec57a6d70f8d7e4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 18 Apr 2023 01:00:41 +0100 Subject: Fix location of model matrix in vertex shader --- gfx/gl/shaders/dynamicPointInst.vs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3