mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Fix cubemap view direction
This commit is contained in:
parent
f98cb66feb
commit
b8915393ea
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ out vec3 TexCoords;
|
|||
|
||||
void main()
|
||||
{
|
||||
TexCoords = aPos;
|
||||
TexCoords = vec3(-aPos.x, aPos.y, aPos.z);
|
||||
vec4 clipPos = projection * rotView * vec4(aPos, 1.0);
|
||||
|
||||
gl_Position = clipPos.xyww;
|
||||
|
|
Loading…
Reference in a new issue