Jump to content
  • Advertisement
Sign in to follow this  
Zavie

Yet another render-to-texture problem

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

Hello, I am performing some tests with render to texture operations. My aim is to be able to have the same result (or very very close) rendering directly to the backbuffer and rendering to a texture. The tricky part is that I am dealing with blended primitives. Doing so brings some problems I do not know how to solve at the moment. I hope you can help me! - The first, and most important point, is that the resulting opacity is not the same when rendering to the texture. - The second one is that when the texture is cleared for rendering, it introduce some color artifacts on transparent fragments. http://zavie.free.fr/test You can find here some screenshots showing what my problem is, and a zipfile containing the files used to make this example. The white and black part in the background is always rendered directly. The transparent textured squares are rendered directly on one screenshot, and via texture on the two other ones (the red square highlights the texture used for the rendering). As you can see, when rendering to the texture, it results more transparent. I already spent a lot of time on that problem, and I really hope you can help me. So I am offering a Gmail account for the solution ;-) P.S. : I am not considerating aliasing artifacts due to texture resolution, neither tiny shifts introduced by bad frustrum.

Share this post


Link to post
Share on other sites
Advertisement
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!