Advertisement

Latest DX9Shadowpassingthrough Activity

DirectX9 Shadow passing through objects/terrain

eduard_ionut said:
My character will also have his own shadow on him. There will be an infinite shadows from the shadow vector direction..

Yeah, that's why you need the depth test.
This image should help:
 

Basically, the front side of the character which should not be shadowed by itself is the ca…

5,595 views
Advertisement
Advertisement
Advertisement