fix: inverted sun texture
This commit is contained in:
parent
dcd9359ac4
commit
80db86ab11
@ -17,5 +17,5 @@ void main()
|
|||||||
worldPos = (modelMatrix* vec4(vertexPosition,1)).xyz;
|
worldPos = (modelMatrix* vec4(vertexPosition,1)).xyz;
|
||||||
vecNormal = (modelMatrix* vec4(vertexNormal,0)).xyz;
|
vecNormal = (modelMatrix* vec4(vertexNormal,0)).xyz;
|
||||||
gl_Position = transformation * vec4(vertexPosition, 1.0);
|
gl_Position = transformation * vec4(vertexPosition, 1.0);
|
||||||
outVertexTexCoord = -1*vertexTexCoord;
|
outVertexTexCoord = vertexTexCoord;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user