You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, diffuse modulation was applied only to the diffuse lighting terms
while other shading paths—such as self-illumination, night vision,
and Phong-based effects—continued to use the unmodulated base color.
This led to inconsistent material appearance and visual artifacts
when per-instance color overrides (e.g., rendercolor or proxy-driven modulation) were used.
This change applies diffuse modulation to the base color itself before
any shading calculations, ensuring that all subsequent lighting and shading paths
operate on the fully modulated color. The visual output is now consistent,
and the shader behavior aligns with the intended use of diffuse modulation
as a persistent per-instance color modification.
0 commit comments