This is what I emailed to [email protected] a few days ago, but so far no reply. Any comments?
I've been working with stencil shadows in Direct3D, and I've noticed something strange. It appears there's some kind of corruption of the depth buffer when the stencil buffer is cleared seperately (only in the case of multiple lights, one light works fine because the clear combines stencil/target/depth). This doesn't happen with the REF device. The ShadowDemo on your developer page has the same corruption. I'm using the
7.79/6200 drivers on a Radeon9700 Pro. A friend of mine who has a Radeon9000 with the same drivers and doesn't have this corruption. From the screenshots you can see it seems to happen at the vertices only:
http://www.xs4all.nl/~bhaal/stencil_solid.jpg
http://www.xs4all.nl/~bhaal/stencil_wireframe.jpg
I've been working with stencil shadows in Direct3D, and I've noticed something strange. It appears there's some kind of corruption of the depth buffer when the stencil buffer is cleared seperately (only in the case of multiple lights, one light works fine because the clear combines stencil/target/depth). This doesn't happen with the REF device. The ShadowDemo on your developer page has the same corruption. I'm using the
7.79/6200 drivers on a Radeon9700 Pro. A friend of mine who has a Radeon9000 with the same drivers and doesn't have this corruption. From the screenshots you can see it seems to happen at the vertices only:
http://www.xs4all.nl/~bhaal/stencil_solid.jpg
http://www.xs4all.nl/~bhaal/stencil_wireframe.jpg