• Advertisement
Sign in to follow this  

Rendertotexture

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

Hy! I want to create Post-Processed final image, so I must to render the scene into a texture. But what's if my Back Buffer has 1280*1024 size? Shall I create a Texture in 2048*1024 size? What's the fastest way to copy the Texture to the Back Buffer (code please)? And how can I do Quinclux (I hope it's right) antialiasing on this buffer? THX! Bye!

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by CastorX
Hy!
I want to create Post-Processed final image, so I must to render the scene into a texture. But what's if my Back Buffer has 1280*1024 size?
Shall I create a Texture in 2048*1024 size?

Your texture should be the same size as the backbuffer, so just 1280*1024.

Quote:
What's the fastest way to copy the Texture to the Back Buffer (code please)?

All you have to do is render the texture as a textured quad. You can do this easily with ID3DXSprite. If you don't want to use ID3DXSprite, all you have to do is render 2 triangles with the corresponding texture coords.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement