Files
Cortex_Engine/src
emil28092005 573872298f fix: shadow map binding before draw + correct matrix transpose
- Use BeginShaderMode/EndShaderMode around DrawModelEx to keep shader active
- Bind shadow map on texture unit 1 BEFORE DrawModelEx (not after)
- Remove manual Matrix4x4.Transpose — SetShaderValueMatrix already handles
  row-major to column-major conversion via glUniformMatrix4fv(transpose=false)
- 66/66 tests, 145 FPS
2026-06-17 18:11:08 +03:00
..