shader not compiling properly have been fixed

This commit is contained in:
samcake 2015-05-01 00:21:58 -07:00
parent e560687371
commit 2b631efb5d
2 changed files with 15 additions and 15 deletions

View file

@ -32,7 +32,7 @@ varying vec3 color;
void main(void) {
vec4 position = vec4(0.0, 0.0, 0.0, 0.0);
normal = vec4(0.0, 0.0, 0.0, 0.0);
interpolatedNormal = vec4(0.0, 0.0, 0.0, 0.0);
for (int i = 0; i < INDICES_PER_VERTEX; i++) {
mat4 clusterMatrix = clusterMatrices[int(clusterIndices[i])];
float clusterWeight = clusterWeights[i];