mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 12:10:44 +02:00
shader not compiling properly have been fixed
This commit is contained in:
parent
e560687371
commit
2b631efb5d
2 changed files with 15 additions and 15 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue