Jump to content
  • Advertisement
Sign in to follow this  
AgentSnoop

Changing rendertargets question

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

When I render some stuff (1280x800 currently), then attach two rendertargets (256x128), then switch back to the first rendertarget, there's a rectangular region in the upper left corner (256x128) that isn't overwritten with the new information. I know this has to have a simple explanation. I switch render targets a few times, usually is the same size, but another time I switch it to 512x512, and there doesn't seem to be a problem. What am I forgetting here?

Share this post


Link to post
Share on other sites
Advertisement
Maybe need to clear depth and/or target? I had a similar problem when switching render targets, except my RT's were all the same size so I got a fullscreen of black.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!