From: Mikko Rasa Date: Tue, 4 Oct 2022 21:15:18 +0000 (+0300) Subject: Change the vertex group attribute to uvec4 X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=7c797f8445ab02381e358472755e94e5c5125252 Change the vertex group attribute to uvec4 The exporter writes it as UBYTE, which is not compatible with a signed integer attribute. --- 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;