Sign in to follow this  

Antialiased render targets

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

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