Casting and non casting lights don't match attenuation
Posted: Sat Apr 18, 2020 5:52 pm
Hello! I have some spotlights that I want to make them cast shadows just sometimes (quality configuration) but I need to look the same in both cases, when enabling shadows they are a lot brighter
I found it to be because of hlms_forward_fade_attenuation_range I tried to added it to the non forward spotlight code but there's no light0Buf.lights[@n].attenuation.w
should that w be passed? or there's another way to calculate a fade_attenuation_range?
thanks!
I found it to be because of hlms_forward_fade_attenuation_range I tried to added it to the non forward spotlight code but there's no light0Buf.lights[@n].attenuation.w
should that w be passed? or there's another way to calculate a fade_attenuation_range?
thanks!