ericwa/ericw-tools

_bouncecolorscale seems to have no effect

4LT opened this issue · 3 comments

4LT commented

A light source adjacent to an orange wall seems to have no effect on the tint of a nearby off-white wall. Not sure if this is because the orange wall is too dark or what, but I can't detect a hint of orange on the white wall.

lim_4lt_2024-05-06_23-06-36
lim_4lt_2024-05-06_23-06-42

Settings:

_bounce 3
_bouncecolorscale 1

Version: 2.0.0-alpha7-6-g9985d6c8-dirty

4LT commented

I added some debug prints, light_options.bouncecolorscale.value() is returning 0 in the function CacheTextures

Cool, I think I can repro this if I set _bouncecolorscale 1 in worldspawn.
Previously I was setting -bouncecolorscale 1 as a light command-line arg.

Does it fix it if you pass -bouncecolorscale 1 as a light command line arg?

4LT commented

Yes, it works now! Although the effect is much more subtle than I had hoped for; I see why, though, the direct lighting is overpowering the bounced light. Emissive surfaces would probably look better