Jump to content
  • Advertisement
Sign in to follow this  
janta

Multisampled texture/render target

This topic is 3895 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 thinks there's a little trick that I'm overlooking... I want to create am amtialiased render target, to which I render some stuff in a frst step of my frame, then set it as a sampler and render to the back buffer of my app. How do I do that? If I use CreateTexture, there's no way to specify multisampling If I use CreateRenderTarget, there's no way to set it as a sampler (which demands a IDirect3DTexture) How do people usually work around that? Or is there no other way than using StrethcRect and the likes...? regards, JA

Share this post


Link to post
Share on other sites
Advertisement
Thanks. That's what I had just figured out.

Render all the scene to my app's AA'd back buffer, copy that to a non-AA'd render target, do whatever post process I need to do, then set the result as a sampler and blend that back into the main back buffer.

Thanks!

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!