Files
texturecraft/crates/compose
Rebornim 82e3e72201 Texture set UV padding: across seams (3D) or from island edges (2D), set by command and followed by the viewport and export
textureSet.settings takes uvPadding (3d or 2d) as one undo step and textureSet.inspect
reports it. Padding from island edges (2D) is the padding we always had: each texel
outside the UV islands repeats the nearest covered texel. Padding across seams (3D)
continues the surface across UV seams: a texel just outside a seam takes the texel as far
inside the seam's other island (UvSeam finds the edges two triangles share in 3D but not
in UV space), up to 32 texels out, and falls back to the nearest covered texel elsewhere.
Tangent-space normals always pad in 2D, since they turn with their island. New texture
sets pad across seams; projects without the field keep 2D, so they open and export as
before.
2026-11-27 06:14:10 +00:00
..