Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/assets/shaders/GLSL/grass.glsl

Diff revisions: vs.
  @@ -22,7 +22,13 @@
22 22 vec3 posOffset = positionOffsets[gl_VertexID];
23 23 _arrayLayer = int(instanceData.w);
24 24 _texCoord = texCoordOffsets[gl_VertexID];
25 - _vertexW = /* transform[gl_InstanceID]* */ vec4(rotationMatrices[instanceID % 18] * positionOffsets[gl_VertexID] * instanceScale + instanceData.xyz, 1.0);
25 + _vertexW = /* transform[gl_InstanceID]* */
26 + vec4(rotationMatrices[instanceID % 18] *
27 + positionOffsets[gl_VertexID] *
28 + instanceScale +
29 + instanceData.xyz,
30 + 1.0);
31 +
26 32 dvd_Normal = vec3(1.0, 1.0, 1.0);
27 33
28 34 if (posOffset.y > 0.75)