• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by SITH-RULER · Apr 09, 2017 at 02:07 PM · lightingimage effectsdeferreddeferred rendering

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) alt text

exact same scene but with while in game (Noise and grain on) alt text

Lighting Settings Light Settings

no-grain.png (465.8 kB)
capture.png (68.5 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

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.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SITH-RULER · Apr 11, 2017 at 11:49 AM 0
Share

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?

Weird Circle Thingy

avatar image Namey5 SITH-RULER · Apr 11, 2017 at 12:25 PM 0
Share

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.

avatar image SITH-RULER Namey5 · Apr 11, 2017 at 12:31 PM 0
Share

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

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

77 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why does SSAO not work in forward rendering? (black screen) 0 Answers

Reading from Gbuffers 4-7 in a shader 1 Answer

Deferred Rendering lighting bug. 0 Answers

Rendering path bug/error 1 Answer

deferred lighting base pass texture 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges