mirror of
https://github.com/CNCKitchen/stlTexturizer.git
synced 2026-04-07 22:11:32 +00:00
027c57a6a9
- Remove flat-shaded MeshLambertMaterial overlay that was covering the custom shader output on user-masked faces (root cause of static shading) - Pass smooth interpolated normal (vSmoothNormal) to fragment shader and blend toward it on masked faces so they get smooth view-dependent lighting instead of flat per-face shading - Brighten user-mask color to warm orange (0.85, 0.40, 0.15) for better visibility of lighting variation on masked surfaces - Shader now handles all mask visualization consistently: exclude mode (orange), include-only mode (orange for unselected), and angle mask (grey) all receive identical smooth shading