fix: shadow map re-bind after DrawModelEx + transpose lightViewProj

- Bind shadow map on MaterialMapIndex.Emission (unit 1) per entity
- Re-bind via Rlgl.ActiveTextureSlot(1)+EnableTexture after DrawModelEx
  (DrawModelEx resets texture state internally)
- Transpose lightViewProj matrix (Raylib row-major → OpenGL column-major)
- 66/66 tests, 145 FPS
This commit is contained in:
emil28092005
2026-06-17 18:07:13 +03:00
parent 2e73a0b52c
commit 6d16287bcb
2 changed files with 24 additions and 10 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ Size=250,398
Collapsed=0
[Window][Inspector]
Pos=740,357
Size=300,400
Pos=740,354
Size=300,403
Collapsed=0