Sign in to follow this  

Blending 6 independent shadow maps like a cube map

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

Hi, I was wondering if any of you know how to get 6 independent shadow maps to render correctly without errors at the seams where the shadow maps meet when rendered as 6 sides to make up something similar to a cubemap. I’ve been experimenting with a tolerance > 0 in my shadow map look up with a slightly better result but the seams are still are still damn ugly. shadow[0] = IN.ShadowMapCoordProj0.w < tolerance ? 1.0f : tex2Dproj(ShadowMapSampler0, IN.ShadowMapCoordProj0); I wish to render the shadow maps independently to take advantage of the shadow map acceleration on NVIDIA hardware as it doesn't support shadow cube map acceleration. This is important as the program uses jittered smooth shadows so it is doing a lot of shadow map lookups. Also by rendering the shadow maps independently it is possible to alter each ones resolution independently to save memory in some cases. Here is a screen shot of my problem with some simple geometry & jittered soft shadows disabled: http://www.geocities.com/thesamsters/ScreenShot.jpg Any help or advice would be appreciated Cheers Ben

Share this post


Link to post
Share on other sites

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