Skip to content

Lighting fix: single headlight ignored its diffuse color

Aron Helser requested to merge aron.helser/vtk:headlight_color_fix into master

When only a single headlight was active with intensity 1, it used a simplified shader that ignored the light's (diffuse) color.

Add the color as a shader param and use it for this case.

Thanks @ken-martin ! CC @demarle

Edited by Aron Helser

Merge request reports