Hi all,
The shadows are applied once on each scene graph if streched over more than one (at least I guess)!
Please take a look at the following pictures:
www.titanium.hr/sydneyshadow1.JPG
Here Sydney stands on a box. I first thougt the shadow is applied twice because the box itself is has no ShadowVolume. (But even if it should not be applied that way).
or
www.titanium.hr/sydneyshadow2.JPG
Here you can clearly see that the shadow is casted on the floor than again on the wall.
The meshes used are the standard ones (sydney + room) that come with the tutorials in addition to some boxes and barrels.
Have a nice day
Riki
Shadow not calculated correctly
Shadow not calculated correctly
Last edited by Riki on Fri Mar 16, 2007 9:26 am, edited 1 time in total.
Sure but even then the foots shouldnt be casted twice.lester wrote:And what? Thats normal because there might be a shadow from the corner of that step where the sydney is standing on. But as the room does not have a shadow wolume, the shadow does not cast.
Take a closer look:
1. The feet are casted to the floor
2. The shadow is discountinued at the step because the missing room shadow volume
3. The shadow is casted again on the water/wall but THE FEETS ARE SHOWN AGAIN!!!
C ya
Riki
Last edited by Riki on Fri Mar 16, 2007 9:29 am, edited 1 time in total.
Also take a look at this picture: http://www.titanium.hr/sydneyshadow3.JPG
At the top floor where sydney stands are two shadows, one that goes under the barrel??? And one on the barrel.
Next you have another shadow on the lower floor (which is totaly wrong since it starts with the feets again), and one more on the next one etc.
Something is really mixed up with the shadow calculations
At the top floor where sydney stands are two shadows, one that goes under the barrel??? And one on the barrel.
Next you have another shadow on the lower floor (which is totaly wrong since it starts with the feets again), and one more on the next one etc.
Something is really mixed up with the shadow calculations