Adjust metal reference output
Y flipping is now off by default.
This commit is contained in:
parent
bbc1e0c0cc
commit
7b3d0686ef
@ -26,7 +26,6 @@ vertex main0_out main0(main0_in in [[stage_in]], constant UBO& _16 [[buffer(0)]]
|
||||
main0_out out = {};
|
||||
out.gl_Position = _16.uMVP * in.aVertex;
|
||||
out.vNormal = in.aNormal;
|
||||
out.gl_Position.y = -(out.gl_Position.y); // Invert Y-axis for Metal
|
||||
return out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user