Search code examples
unity-game-enginegraphics3dlighting

Unity HDRP Dark Pixels on random objects and edges


I have been trying to fix this problem for the past 5 days There are a lot of annoying dark pixels on multiple random objects.

Examples:

Walls/Pillar: https://i.sstatic.net/DP6Lm.png (Getting closer to them it disappears It only appears in a far distance)

Floor: https://i.sstatic.net/hsvlH.png (For the floor this is different. Still can see it no matter the distance)

I have a strong feeling this has to be a lighting problem that I can't fix.

These are my light settings for all the lights: https://i.sstatic.net/6Ptuq.png

Unity Version: 2020.3.20f1

[These pixels do not appear in the dark so removing the lights I can see it only a little until its completely dark]

[I tried fixing uv overlapping which I don't think is the cause, but I failed trying to fix after working on it for like 8 hours which is annoying as hell.]


Solution

  • I fixed the glitch by lowering the range of the lights down and increasing the environment lights the place looks a little different but its worth it

    Before: https://cdn.discordapp.com/attachments/963813974669930516/970238045964087326/unknown.png

    After: https://cdn.discordapp.com/attachments/963813974669930516/970239235808452618/unknown.png