bigwheels icon indicating copy to clipboard operation
bigwheels copied to clipboard

[glTF] Support double-sided materials

Open footballhead opened this issue 8 months ago • 0 comments

All models loaded with scene::GltfLoader are assumed to be single-sided (back face culling is enabled). glTF supports double-sided materials. From 3.9.5:

When this value is true, back-face culling is disabled and double sided lighting is enabled. The back-face MUST have its normals reversed before the lighting equation is evaluated.

This would allow BigWheels to correctly render:

footballhead avatar Jun 07 '24 18:06 footballhead