Files
texturecraft/crates/render
Rebornim 40830d0128 Texture set height to normal method: Sharp or Smooth (Sobel), set by command and followed by export, viewport and path tracers
textureSet.settings takes heightToNormal (sharp or smooth) as one undo step and
textureSet.inspect reports it. Smooth is the 3x3 Sobel filter export already used;
Sharp takes the two neighbours across, which the viewport and both path tracers
used until now. All four now read the set's method from one rule
(HeightToNormalMethod::slope, mirrored in mesh.wgsl and trace.wgsl). Projects
without the field stay Smooth, so their exports are unchanged; their viewport
normal now matches the export.
2026-11-27 05:10:45 +00:00
..