mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-25 00:40:47 +01:00
The importers fan-triangulate polygons and mark the split diagonals. Tangent generation now rebuilds each intact quad from those marks and hands it to MikkTSpace as a four-corner face, as Blender does, so maps baked in Blender decode in the same frame on non-planar quads. Render and bake triangles are unchanged; polygons with more than four corners and any degenerate quad stay triangles. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>