mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 11:58:13 +00:00

fragPosition was multiplied by mvp*instanceTransform, but it should only be multiplied by instanceTransform. Compare to lighting.vs, there we only use mvp for gl_Position, but matModel for the fragPosition.