Jump to content
  • Advertisement
Sign in to follow this  
Volgut

Antialiased render targets

This topic is 4550 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 want to render my scene to 2 render targets (surfaces) by using SetRenderTarget(). Everything works fine when I am not using antialiasing, but if I set multisampling type different than D3DMULTISAMPLE_NONE then nothing is being rendered to my surfaces. Am I doing something wrong or just simply my current graphics card doesn't support antialiased multiple render targets? I have NVIDIA GeForce 6800GT with latest drivers and DirectX SDK from February. Thanks. Regards, Tomasz

Share this post


Link to post
Share on other sites
Advertisement
Currently, antialiasing is not supported for either multiple render targets or offscreen render targets. If you want to have antialiasing in your scene, you'll have to render to your backbuffer (with multisampling on), and use the StretchRect() function to copy the data from the backbuffer to your desired render target.

Share this post


Link to post
Share on other sites
moagstar: No, I am creating non-lockable surfaces.

Cypher19: Thanks. I will render my scene in separate passes - each for one antialiased surface.

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!