3
\$\begingroup\$

Look at my scene:

enter image description here

Sun is rising and as you can see the scene is realistic; I mean, that what is in shadow is almost completely dark. This is correct, but i would like something less "dark", like an HDR.

These are some parameters i'm using:

enter image description here

This is my unique Light in scene (Sun):

enter image description here

I'm using also a Post-Processing profile with "Eye Adaption" unflagged.

Can you suggest me what i've to change to make my object affected by shadow less.. dark ?

Thanks

\$\endgroup\$
2
  • \$\begingroup\$ "like an HDR" - is it safe to assume you're using high-dynamic range rendering? \$\endgroup\$
    – DMGregory
    Aug 31, 2018 at 20:15
  • \$\begingroup\$ Obviously yes. I've ticked in all my cameras \$\endgroup\$
    – stighy
    Aug 31, 2018 at 20:32

2 Answers 2

7
\$\begingroup\$

You said you were using an "Eye Adaption" Plug-in. Disable that first to make sure the issue is not caused by that.

At last you have several knobs to tweak the outcome. I recommend you use a balance of each depending on the settings.

enter image description here

Reducing Shadow strength to 80% simply reduces light intensity by 80% where the shadows are supposed to be. Simple, however when you have indoor levels it might give poor results inside the buildings.

enter image description here

These are the key. More information on environment lightning: https://docs.unity3d.com/Manual/GlobalIllumination.html#Environment

I personally use different light settings for indoor and outdoor levels. I don't change anything when the Player is entering a small building, but when the Level changes from an outdoor environment to a large bunker or a cave I have a set of triggers in the map that set different Environment Lightning values when you pass through them. Lerp between two triggers to make a slow transition.

Here is what it should look like.

All mentioned settings turned off:

enter image description here enter image description here

Only Environment reflections:

enter image description here enter image description here

Environment reflections and Environment lightning (Skybox):

enter image description here enter image description here

Sun shadow strength 80% indoors (Nonsense):

enter image description here

A nice balance of all settings (Outdoors):

enter image description here

You also have the possibility to use additional lights with shadows disabled and bake them to tweak the lightning to your needs but going over that would be too much for this answer.

\$\endgroup\$
1
\$\begingroup\$

I've solved adding a "minimum" environment light :

enter image description here

Now, i haven't too dark shadow !

\$\endgroup\$
1
  • \$\begingroup\$ I solved my problem by changing the source to color in lighting settings. As @stighy Said... Thanks. \$\endgroup\$
    – Ali Raza
    Oct 9, 2021 at 16:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .