Jump to content
  • Advertisement
Sign in to follow this  

Rendertarget doesn't get filled

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

Hey guys I have a question to you.I'm on writing an implementation for dual paraboloid shadowmapping.

By the way Iam using a deferred shading pipeline..so these are my steps:


1.Set gbuffer targets ( color,normal,position,depth,shadowmap <- this is the map I render the shadow to) and draw with my normal diffuse shader to the 5 targets, but fill the 5th shadowmap with a red color.


Then when all vertices are drawn I set the shadowmap shader which only fill the 5th rendertarget SV_TARGET4 with a blue color and draw all vertices a second time.


Then I set the backbuffer and display my gbuffers shadowmap texture but it is still red, so the shadowmap shader doesn't draw on it but why `??

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!