feat: directional lighting with per-face normals

- Add Normal to Vertex struct and vertex input pipeline.
- Update vertex/fragment shaders with push-constant light data (direction, color, ambient).
- Compute per-face normals in ObjLoader and GltfLoader for flat shading.
- Add Transform.TransformNormal() using inverse-transpose of the model matrix.
- MeshRenderer builds world-space normals and pushes light constants each frame.
- Recompile SPIR-V shaders.
This commit is contained in:
emil28092005
2026-06-16 20:18:20 +03:00
parent 9312810f0c
commit 98a429710a
10 changed files with 198 additions and 48 deletions
Binary file not shown.