0
\$\begingroup\$

I can't find anything about this subject in the docs or forums to know if this is normal behavior: There seems to be a direct correlation between how close to the scenery my camera gets and how brightly lit the scene is. My camera is able to move up to 200 units from Vector3.zero. Here are two shots of the same piece of scenery - one close up, one far away:

enter image description here

The camera is set to perspective, using deferred rendering.

Things I've tried:

  • Turning off post processing
  • Using auto expose in post processing
  • Changing to orthographic (removes the issue, scene is uniformly bright at any distance)
  • Changing the FOV
  • Changing global lighting to use color rather than skybox
  • Putting some lights at altitude

This may be normal behavior & I just havent noticed before. Can anyone confirm? Is there some way to prevent this happening? I don't want to use an orthographic camera but I do want the scene to be evenly bright at any distance from the camera.

\$\endgroup\$
7
  • \$\begingroup\$ Is the light attached to the camera? \$\endgroup\$
    – Bálint
    May 20, 2019 at 9:43
  • \$\begingroup\$ No. There's one directional light at (0, 100, 0) and a bunch of point lights scattered around the scene. Changing the range on the point lights makes no difference to the problem. \$\endgroup\$
    – Absinthe
    May 20, 2019 at 11:04
  • 1
    \$\begingroup\$ Do you have fog enabled in your scene? How have you configured your materials? \$\endgroup\$
    – DMGregory
    May 20, 2019 at 11:40
  • \$\begingroup\$ @DMGregory - Yeah that was it, somehow the fog color got changed to pure black. Thanks. \$\endgroup\$
    – Absinthe
    May 20, 2019 at 15:02
  • \$\begingroup\$ If you've solved your problem, please feel free to post your solution as an answer. \$\endgroup\$
    – DMGregory
    May 20, 2019 at 15:07

0

You must log in to answer this question.

Browse other questions tagged .