e740cf1214ed0b430598c304f0ad0b5de07ab070
- ObjLoader.ParseFace: if no normals in OBJ, compute face normal from first triangle using MeshMath.ComputeFaceNormal and apply to all face vertices - cube.obj has no vn lines, so all faces previously had normal (0,1,0) - Now each face has correct outward-facing normal for proper lighting
Description
AI powered Game Engine
23 MiB
Languages
C#
97.8%
GLSL
1.8%
Shell
0.2%
PowerShell
0.2%