mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-07 13:53:24 +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.