mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-20 14:30:43 +01:00
The bent normal map packed the world-space direction while the normal map uses the low poly's tangent frame (OpenGL green). Encode the bent normal in the same frame on the shared CPU/GPU packing path, read imported bent normal images in the project's normal format, and decode it with the vertex tangent frame in the neutral material view. Projects saved before format version 3 held world-space bent normal maps: loading drops them, keeps the bake settings and asks for a re-bake. Part of #538