X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Funlit.h;fp=shaders%2Funlit.h;h=6f7466e4d491f7565936ea3334d019e4206fe760;hb=d045af680c6b8ca267a7aded69e2e510e659d2ab;hp=25bca828df13c463fc4a846ae7717e591bb7c364;hpb=55b17b4ef5e56ee515656960609843d5365b4d93;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/unlit.h b/shaders/unlit.h index 25bca82..6f7466e 100644 --- a/shaders/unlit.h +++ b/shaders/unlit.h @@ -11,8 +11,10 @@ static struct vg_shader _shader_unlit = { .static_src = "layout (location=0) in vec3 a_co;\n" "layout (location=1) in vec3 a_norm;\n" -"layout (location=2) in vec4 a_colour;\n" -"layout (location=3) in vec2 a_uv;\n" +"layout (location=2) in vec2 a_uv;\n" +"layout (location=3) in vec4 a_colour;\n" +"layout (location=4) in vec4 a_weights;\n" +"layout (location=5) in ivec4 a_groups;\n" "\n" "#line 2 0 \n" "\n"