- Home /
Weird lighting/shadow when point light very close to surface
This is the ceiling of my room. There is a real-time point light, and it is located near the ceiling, because there should be a chandelier hanging off it. On point lights that are far from objects, this does not happen.
Can I get rid of this somehow?
The ceiling is white in color (and is part of a .blend imported model).
We have the exact same issue (Unity 5.0.2f1). Did you manage to resolve this? If so, how?
Nope, I never solved it and I just try to avoid those situations. For this particular game, I switched to baked shadows and I dropped the functionality of turning the light on or off in-game.
I hate that this is the only solution. Unity is suffering a lot when it comes to realtime functionality these days.
Not 100% sure about this but I think changing your "Bias" in the shadow settings.
@Real$$anonymous$$TG I read about this on some forum threads regarding similar shadow issues but in this case it made zero difference :(
Answer by Crystalline · Jun 06, 2015 at 07:06 PM
Never put a light too close to a surface. That's the main rule. Also, keep the bias value a bit higher. There isnt much else to do.
Define too close. This only seems to be an issue with soft shadows, not hard shadows. Changing bias has no effect.
Your answer
Follow this Question
Related Questions
Why the shadows be pixelated? 5 Answers
Issue with realtime shadows (receive shadows) 1 Answer
Toon Shader Working With Multiple Spotlight Shadows (Pro) 0 Answers
Lightmapping Darkness & Lightmapped Hard/Soft Shadows 0 Answers
Problem with shadows 1 Answer