1
0
forked from 0ad/0ad

Disables UV1 vertex attribute without USE_AO for model_common shader.

This was SVN commit r27656.
This commit is contained in:
Vladislav Belov 2023-05-30 17:07:58 +00:00
parent cd8eb70859
commit 71e3d1303d

View File

@ -12,7 +12,9 @@ VERTEX_INPUT_ATTRIBUTE(1, vec3, a_normal);
VERTEX_INPUT_ATTRIBUTE(2, vec4, a_tangent);
#endif
VERTEX_INPUT_ATTRIBUTE(3, vec2, a_uv0);
#if USE_AO
VERTEX_INPUT_ATTRIBUTE(4, vec2, a_uv1);
#endif
#if USE_GPU_SKINNING
VERTEX_INPUT_ATTRIBUTE(5, vec4, a_skinJoints);
VERTEX_INPUT_ATTRIBUTE(6, vec4, a_skinWeights);