Disables UV1 vertex attribute without USE_AO for model_common shader.
This was SVN commit r27656.
This commit is contained in:
1 parent
cd8eb70859
commit
71e3d1303d
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user