Hi, I am just starting with Unity and wondering about the ugly shadows that I see, even if I set the Quality Settings to "Fantastic".
Here are a screenshot from a simple scene, shadow of default cylinder on default box with default directional light, and hard shadows:
“Good quality”
“Fantastic quality”
Changing to soft shadows just kind of blurs the shadow that I see, but its still ugly:
“Soft shadows good quality”
“Soft shadows fantastic quality”
Is this the normal result?
I am on Mac 10.5.8 2.8 Ghz Quad-Core Intel Xeon, ATI Radeon HD 2600, but I see the same on PC.
Use as short a shadow distance as you can get away with, and use high resolution for the shadows, with cascades (keeping in mind the VRAM cost). The quality settings are arbitrary and only mean what you've defined them to mean.
under the light settings change from hard shadows to soft shadows and then if that does not work select the use quality settings and change it to best quality
it’s look like the shadow rendering in your platform (Mac + Unity) don’t use hardware features like P.C.F (Percentage Close Filtering) present on NVidia cards.
So, this result look like a shadow map rendering with nearest close filtering (just 1 depth test and binary result: lit or in the shadow).
With PCF, you can have linear filtering (linear combinaison results of neighbors (grid of 2x2 texels or lexels)) for ‘free’ (like bilinear texture sampling interpolation).
After the ‘Quality’ setting (in Unity) affect the number of samples/tests/depth comparaison/PCF results using for each pixel. In other word, you can see this like sampling the light source, as a ‘micro’-sphere (changing position, orientation and bias of the camera (light view) attached to the light).
Hello,
This following options help me to resolve this issue…
Go to Edit > Project Settings > Quality (I’m using Hard Shadows, High Resolution, Close Fit, No Cascades, Shadow Distance = you can adjust as per your scene scale)