Hey, I'm trying to use light functions to light certains parts of the scene only when the player is close to it. Through my research I've come across light functions and they seem to fit the bill but I can't get them to work properly. Is it possible to make a distanced based material for light functions? (Distance from the…
I tried as well and experience the same thing. The material works fine actually, but the engine removes the dynamic light after a certain range. I would guess that the light radius is multiplied with some number to determine when to fade out the dynamic lighting. If you assign a light function that is a solid red color on…
Yes and no. I'm getting the same problem with your technique as I did with mine. For close enough distances it seems to work but when I get really far the light turns back on. Also, weirdly enough, the radius of the light seems to affect the range at which the light "comes back on". The bigger the radius the bigger the…