godot
godot copied to clipboard
Incorrect winding order for imported GLTF with PRIMITIVE_TRIANGLE_STRIP
Tested versions
4.2.1
System information
debian
Issue description
Inside gltf_document.cpp I can see conversions CCW->CW for Triangles but not for Triangle Strips, causing imported gltf with triangle strip primitives to have flipped face winding, causing inverted face culling.
Steps to reproduce
Import any GLTF with Triangle Strip mode for mesh primitives
Minimal reproduction project (MRP)
none needed, general issue