mirror of
https://github.com/CNCKitchen/stlTexturizer.git
synced 2026-04-07 22:11:32 +00:00
5eb8264f78
- Track whether each boundary is from user masking or angle masking via a new boundaryMaskTypeAttr vertex attribute (0=user, 1=angle) - Pass vUserMask and vMaskType varyings to the fragment shader - Use consistent teal base color for all surfaces so lighting is uniform across masked and textured areas (fixes dark halo artifact) - Tint the falloff gradient warm red-orange near user-painted masks and neutral grey near angle-masked boundaries