Fixed coordinate transformation for skybox and reflection objects
Matched HLSL and GLSL shaders Fixes #757
This commit is contained in:
parent
1d815e6ced
commit
4e600f5943
11 changed files with 5 additions and 5 deletions
|
|
@ -16,5 +16,6 @@ layout (location = 0) out vec3 outUVW;
|
|||
void main()
|
||||
{
|
||||
outUVW = inPos;
|
||||
outUVW.yz *= -1.0f;
|
||||
gl_Position = ubo.projection * ubo.model * vec4(inPos.xyz, 1.0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue