Graphics/SkyboxBackground: Reverse Z axis to match reflections
There's something wrong about skyboxes at the moment.
This commit is contained in:
parent
d1a9748c33
commit
69296daac0
|
|
@ -154,7 +154,7 @@ namespace Nz
|
||||||
"{\n"
|
"{\n"
|
||||||
" vec4 WVPVertex = WorldViewProjMatrix * vec4(VertexPosition, 1.0);\n"
|
" vec4 WVPVertex = WorldViewProjMatrix * vec4(VertexPosition, 1.0);\n"
|
||||||
" gl_Position = WVPVertex.xyww;\n"
|
" gl_Position = WVPVertex.xyww;\n"
|
||||||
" vTexCoord = vec3(VertexPosition.x, VertexPosition.y, -VertexPosition.z);\n"
|
" vTexCoord = VertexPosition;\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue