bigwheels icon indicating copy to clipboard operation
bigwheels copied to clipboard

[glTF] Calculate normals if not provided

Open footballhead opened this issue 8 months ago • 0 comments

GltfLoader::LoadMeshData will provide (0,0,0) for normals if not present. However 3.7.2.1 says:

When normals are not specified, client implementations MUST calculate flat normals and the provided tangents (if present) MUST be ignored.

This would allow BigWheels to correctly render:

footballhead avatar May 31 '24 20:05 footballhead