mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-20 14:17:54 -04:00
The projection matrix Y-flip (projectionMatrix[1][1] *= -1) reverses triangle winding from the GPU's perspective. With the default VK_FRONT_FACE_COUNTER_CLOCKWISE, gl_FrontFacing was inverted, causing all fragment shaders (M2, WMO, character) to flip normals on front faces instead of back faces, putting specular highlights on the wrong side of surfaces.