- Home /
URP Point light range doesn't increase light range?
I want to light up dark scene with character near the fireplace, but the 'fire' light has very short range. I could set the range to infinity and it still wouldn't increase the range, only the intensity has effect. Intensity actually affects the range too but then my character becomes nearly orange from so much intensity... Any way to work around that?
Answer by Namey5 · Jul 08, 2020 at 10:46 AM
This is just how lighting works in URP. In reality, lights don't have a 'range' - instead the distance light travels is proportional to the intensity of the light source itself. The builtin pipeline used an unrealistic linear attenuation factor that allowed separate range and intensities for lights, but in the new pipelines the range factor is just to control the maximum distance a light can reach for performance reasons.
It makes sense, but is there any way I can override this? I can't imagine working with lights if it makes some spots overexposed, literally light circle appears around the fireplace and the light range is pathetically small compared to intensity. Some ratio setting or something?
I don't believe so, no. Kinda the whole point of HDR rendering is to have things that are overexposed - you're supposed to use tonemapping to bring the exposure into more realistic perceptible levels.
That's so weird. Range works in 2D, but in 3D if you increase the intensity too much it looks super bright. Almost feels like they should just remove the "intensity" entirely and replace it with a range... Is HDRP better for light? I'm just trying to make a basic lighting system here for a fire in front of a quad, i just want the light to cast onto the quad, but no matter how hard I try, it looks ugly lol
Answer by JonPQ · Jul 08, 2020 at 05:24 PM
You can make your own lighting function in a custom shader. then you can make the fall off/attenuation whatever you want... but you might not want to get that deep into things.
or if its just for one scene... you could try scaling down your entire scene ( apart from the light ) so in effect everything is closer to the light. or to put it a different way, by scaling your scene and moving things closer or further from the light... your scene will pickup either a larger or smaller range of the light's fall-off curve. but if its your whole game you want to adjust, scaling everything might not be ab option
Your answer
Follow this Question
Related Questions
Lights keep turning off 2 Answers
Problem with lighting an object. 1 Answer
Point Lights just dont work 3 Answers
Light pass under walls 0 Answers
Is it possible to create a torus-/ring-shaped light? If so, how? 2 Answers