godot icon indicating copy to clipboard operation
godot copied to clipboard

Incorrect winding order for imported GLTF with PRIMITIVE_TRIANGLE_STRIP

Open PredatorCZ opened this issue 1 year ago • 0 comments

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

PredatorCZ avatar May 05 '24 15:05 PredatorCZ