98a429710a7dcbf8c9cec5a5882f2408467233fa
- 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.
Description
AI powered Game Engine
23 MiB
Languages
C#
97.8%
GLSL
1.8%
Shell
0.2%
PowerShell
0.2%