You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: The display was being mirrored, so for now we hack these values to
// negative as far as the app is concerned.
viewTransform.Left.M11 = -viewTransform.Left.M11;
viewTransform.Left.M12 = -viewTransform.Left.M12;
viewTransform.Left.M13 = -viewTransform.Left.M13;
viewTransform.Right.M11 = -viewTransform.Right.M11;
viewTransform.Right.M12 = -viewTransform.Right.M12;
viewTransform.Right.M13 = -viewTransform.Right.M13;
mMidViewMatrix._11 = -mMidViewMatrix._11;
mMidViewMatrix._12 = -mMidViewMatrix._12;
mMidViewMatrix._13 = -mMidViewMatrix._13;
This is causing gl_FrontFacing to be incorrectly mirrored w.r.t the x axis in all of my shaders. Is there a better way to handle this?
The text was updated successfully, but these errors were encountered:
Oddly enough, commenting this has no effect on my shading at all. So less critical issue, but would be good to phase out the above code entirely still..
Behold, my latest hack removal target:
This is causing gl_FrontFacing to be incorrectly mirrored w.r.t the x axis in all of my shaders. Is there a better way to handle this?
The text was updated successfully, but these errors were encountered: