Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Wavewash

Render to Depthstencil on older hardware?

This topic is 5424 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m trying to get my game to work on older hardware and I''m running into an issue that for shadow mapping my voodoo5500 doesn''t have the ability to make a texture with the usage parameter D3DUSAGE_DEPTHSTENCIL. Is there anyway to do shadow mapping on older hardware without a depth stencil? ~Wave

Share this post


Link to post
Share on other sites
Advertisement
You can always render to color buffer. But, you`ll need pixel shaders then
Do D3DUSAGE_DEPTHSTENCIL rendering work on Radeon8500/9000?

Share this post


Link to post
Share on other sites
Well the issue is more the access to the depth buffer. See you can render to a depth buffer but then accessing it for the use of as shadow map is not there. I''m pretty sure the 8500 and 9000 can do D3DUSAGE_DEPTHSTENCIL but weather it can make a lockable depth buffer is the problem. The thing is that Nvidia cards have overloaded their depth buffer type so that you can actually get access to these depth buffers but it doesn''t work on ati cards. I came across this topic:

http://www.gamedev.net/community/forums/topic.asp?topic_id=194355

it brings up the issue. I was reading the paper "Hardware Shadow Mapping" from the nvidia site and they mention how they can overload the depth buffer and I thought that this capability was on all cards but I should''ve guessed it was only on nvidia Geforce cards.

I''m actually working on a work around currently that will allow for shadow maps on older hardware. I''ll post my findings.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!