mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-26 12:27:01 +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.