mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-20 06:20:50 +01:00
Curvature and edge wear generators read the baked curvature map one texel at a time, so they only marked the sharpest edges. They now take a mode (edges, cavities, both, raw) and seven detail size weights: the map itself and the map blurred at 1 to 32 texels at 2K, padded past the UV islands and built once per map and layout. Each size's edges and cavities combine like a screen blend. New curvature and edge wear generators use detail sizes. Generators saved without them, and smart masks, read the map exactly as before.