2
\$\begingroup\$

I have a problem where I want the shadow cast by an object to be a well defined and dark one. However I have to do it without changing how illuminated the object looks so only increasing the intensity of the light won't do(I have already maximized shadow strength).

Is this something i can manipulate in engine or will I have to make some sort of shader adjustments?

This one has the correct illumination on the character:

This one has the correct illumination on the character

This one has the correct shadow color on the shadow cast by the character but it is to strongly illuminated:

This one has the correct shadow color on the shadow cast by the character but it is to strongly illuminated

\$\endgroup\$
  • \$\begingroup\$ Have you tried increasing the albedo (lightening the diffuse texture) of your background elements to increase contrast in shadowed areas? I assume you've already darkened your ambient light term or skybox lighting. \$\endgroup\$ – DMGregory Aug 9 '16 at 21:12
4
\$\begingroup\$

Use a spot light with increased Range and Spot Angle. Use full shadow Strength.

spot light setup

\$\endgroup\$
  • \$\begingroup\$ This is spot on :) Nice and simply, have a +1 !! \$\endgroup\$ – Ryan white Aug 10 '16 at 8:35
  • 1
    \$\begingroup\$ Thank you! that helped a lot, i used your suggestion combined with a "cast shadow only" mesh in the shape of the character head and it look great :) +1 \$\endgroup\$ – Axel Aug 12 '16 at 7:29
0
\$\begingroup\$

In unity 5.6, Windows->Lighting->Settings, turn environmental lighting down to your desired setting, this globally affects ambient light, but not direct lights.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.