How Shadow Map, Sample Range and the size of the scene affects Shadows in Viz & Max.
| Here is a small sample scene to demonstrate the Shadow Map and the Sample Range settings | |
![]() |
![]() |
| Shadow Map 10,
Sample Range 1 Very little details in the shadow's edge. |
Shadow Map 10,
Sample Range 4 Larger Sample Range value will try to smooth out artifacts caused by too small Shadow Map. |
|
|
|
![]() |
![]() |
| Shadow Map 100,
Sample Range 1 Semi-large Shadow Map and small Sample Range can produce some interesting(?) shadows. |
Shadow Map 100,
Sample Range 4 Semi-large Shadow Map and normal Sample range can be used for nice soft shadows. In this small scene the Shadow Map size might be large enough. |
|
|
|
![]() |
![]() |
| Shadow Map 1000,
Sample Range 1 If the Shadow Map is large enough you can get away with low Sample Range values. |
Shadow Map 1000,
Sample Range 4 With large Shadow Map and normal Sample Range it almost looks like Raytraced Shadows |
|
|
|
| Below
is a larger scene. The small teapot is the same as above. The shadow casting spot light have been moved away so the light covers an area that is about 5 times larger. |
|
![]() |
![]() |
| Shadow Map 10,
Sample Range 1 Even less details in a larger scene. Small objects dosen't seem to cast any shadows at all. |
Shadow Map 10,
Sample Range 4 Larger Sample Range values doesn't help much. |
|
|
|
![]() |
![]() |
| Shadow
Map 100, Sample Range 1 Notcice that the shadow's resolution is equal, regardless of the size of the shadow casting object. |
Shadow
Map 100, Sample Range 4 The Shadow Map is to small for this large scene. The little teapot could use more details in the shadow. |
|
|
|
![]() |
![]() |
| Shadow
Map 1000, Sample Range 1 Now there's enough details in the shadows. Even for the small teapot. |
Shadow
Map 1000, Sample Range 4 Higher Sample Range value will take care of the jaggies. |