Sign in to follow this  

NV hardware shadowmap not working in Fullscreen!

This topic is 3671 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
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

This topic is 3671 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this