From 7c797f8445ab02381e358472755e94e5c5125252 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 5 Oct 2022 00:15:18 +0300 Subject: [PATCH] Change the vertex group attribute to uvec4 The exporter writes it as UBYTE, which is not compatible with a signed integer attribute. --- shaderlib/msp_interface.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaderlib/msp_interface.glsl b/shaderlib/msp_interface.glsl index 5ecb4f82..b3202738 100644 --- a/shaderlib/msp_interface.glsl +++ b/shaderlib/msp_interface.glsl @@ -33,7 +33,7 @@ layout(location=0) in vec4 vertex; layout(location=1) in vec4 color; layout(location=2) in vec3 normal; layout(location=3) in vec3 tangent; -layout(location=4) in ivec4 group; +layout(location=4) in uvec4 group; layout(location=5) in vec4 weight; layout(location=6) in vec4 texcoord; layout(location=7) in vec4 texcoord1; -- 2.43.0