Clustered shader spot light randomly changes color from an assigned "white" value to red or green. It appears to be related to the user view position as I can get it to bug out and change color by moving the users view position when close to the sweet spot for seeing this bug. I also noticed when causing it to bug slow enough you can see the edge of the color change is a straight line or box. Textures, nor ortho layer nor shaders seem to influence it in any way, it is more related to view angle.
<light> <name>ProceduralSpotLight</name> <type>spot</type> <position> <x-m> -7.78415 </x-m> <y-m> 0.00000 </y-m> <z-m> -3.21645 </z-m> </position> <direction> <lookat-x-m> -8</lookat-x-m> <lookat-y-m> 0</lookat-y-m> <lookat-z-m>-700</lookat-z-m> </direction> <ambient> <r>0.95</r> <g>0.95</g> <b>0.95</b> <a>1</a> </ambient> <diffuse> <r>0.95</r> <g>0.95</g> <b>0.95</b> <a>1</a> </diffuse> <specular> <r>0.95</r> <g>0.95</g> <b>0.95</b> <a>1</a> </specular> <attenuation> <c>1.0</c> <l>0.0014</l> <q>0.000007</q> </attenuation> <spot-exponent>100</spot-exponent> <spot-cutoff>20</spot-cutoff> <range-m>1000</range-m> <debug-color> <r>1</r> <g>1</g> <b>1</b> <a>1</a> </debug-color> </light>
Diff:
Thanks for the report Wayne. I'll try to reproduce your exact setup.
Hi Fernando and Wayne, did this get fixed in the mean time?
As far as I can tell, the spot lights I would have tested don't work in HDR mode as written, so I have to assume it was in ALS/Standard pipeline that this was occurring. Why this would be on Fernando then, I don't know. Anyway. I just tried to reproduce and I am not seeing it so I suspect it has been resolved. Feel free to close it. If it shows up again I can resubmit.
I'm quite certain it got indirectly fixed in the clustered shading rework I had to do for HDR.
Thanks Gijs for the reminder, will mark as solved for now.