Skip to main content
gamedev.net
🔒 Locked

nVidia Depthmaps

Started by Guoshima Dec 14, 2005 at 7:16 AM 0 replies 350+ views
Original Post
Guoshima
Guoshima
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
Guoshima
Guoshima
hello .. could someone pls move this to the graphics section. Posted on the wrong forum sorry.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.