- Home /
Lighting issues (weird lines/circles on 3D objects)
i recently got this weird lighting bug where when i bake my lighting i get these strange lines/circles on everything especially when i lower my lights intensity for a night scene but here is the strangest part as my project is using noise and grain image effect (legacy version before 5.6) and when i turn it on these lines just vanish. every camera in my scene is using deferred rendering with HDR on.
Scene View Day Scene Scene View Light "Stains"
Scene View NightScene Scene View NightScene
strange lines in my day scene while in game (Noise and grain off)
exact same scene but with while in game (Noise and grain on)
Lighting Settings Light Settings
Answer by Namey5 · Apr 11, 2017 at 06:06 AM
This is an effect called 'banding'. It occurs particularly in areas of low light/little contrast in colour, as the gaps are so small that the computer can't 'distinguish' between them. You have, however, stumbled upon the fix for your own problem. In practically every context, the way in which you deal with banding is to simply add noise to your scene, as you have done here. This works because the human eye is surprisingly lenient towards noise, and as the colours have been 'jittered' together, your brain fills in the gaps. In actual fact, there is still just as much banding happening, its just that you can't perceive it.
thanks for the response thought my question was buried forever : )
but i haven't been able to solve it without using some noise(first time i have ever faced this issue) and banding still happens during high intensity lights too, also sometimes there are giant white circles that move when the player moves i haven't got a clue as to what else might be causing it nor have to fix it?
Well, noise generally is the fix. If you get the new Post Processing Stack (free on asset store), I believe it has dithering (the solution for specifically banding) built in, although it probably uses noise to do dithering anyway.
funny as you say use dithering i turned it on and it seems to work as i integrated new post processing stack into my project your answer helped me alot! was panicking that my hardware was the issue :P
Your answer
Follow this Question
Related Questions
Problem with the lighting of the location 0 Answers
Deferred Light Rendering: Prevent additional lighting passes on pixels in overlapping point lights 0 Answers
Deferred Lighting 3 Answers
Culling masks in deffered lighting 1 Answer
Deferred rendering causing objects to become invisible, but only on WebGL build! 1 Answer