Jump to content
  • Advertisement
Sign in to follow this  
wu_chung_tang

NV hardware shadowmap not working in Fullscreen!

This topic is 3889 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 using GeForce 6200. It seems strange, but I used D3D9/HLSL to implement the HW Shadowmap, just follow the NV's document, such as create a D3DFMT_D24S8 formated Depth texture when rendering the depth info under Light View space... when in windowed mode it works well and really faster than the common shadow map. But when in Full screen(not matter if using FSAA), the shadow rendering is wrong. I tried the debug mode to run it, but without any error info, just same as that in windowed mode, but the rendering result. Who can give me some hint?

Share this post


Link to post
Share on other sites
Advertisement
That sample works well on my system. It means that my video card should have no problem.

I've seen some detail of that code, almost same as mine, just ...

For my application, from the running result, the problem seem to be that in fullscreen the D3DFMT_D24S8 Depth buffer didn't rendered.

My common shadowmap application(the code is simiar to HW shadowmap app) works well under fullscreen.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!