Original Post
Hello, I want to use nVidia Depthmaps for shadowmapping on nVidia hardware. It seams that if you select: D3DFMT_D24S8 and D3DUSAGE_DEPTHSTENCIL, the hardware will automatically switch to the hardware depthmaps support. But I am wondering if both of the following calls will result in the use of a depthmap: pkD3DDevice9->CreateTexture(...) and pkD3DDevice9->CreateDepthStencilSurface(...) I presume only the first one will work, but I hope both since it would make my integration easier :) And is there a way to see that the renderer is currently using hardware depthmaps? (perhaps performance HUD shows this somewhere ...) Regards, Kenzo