Graphics/SkyboxBackground: Reverse Z axis to match reflections

There's something wrong about skyboxes at the moment.
This commit is contained in:
Lynix 2016-12-19 18:25:19 +01:00
parent d1a9748c33
commit 69296daac0
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ namespace Nz
"{\n"
" vec4 WVPVertex = WorldViewProjMatrix * vec4(VertexPosition, 1.0);\n"
" gl_Position = WVPVertex.xyww;\n"
" vTexCoord = vec3(VertexPosition.x, VertexPosition.y, -VertexPosition.z);\n"
" vTexCoord = VertexPosition;\n"
"}\n";
try