Jump to content
  • Advertisement
Sign in to follow this  
Vertex333

Is Front2Back or even unordered rendering bad (transparency)?

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

D3D10: Imagine I render my objects F2B, is it still possible to use alpha blending/transparency (with normal multisample ability)? What if I draw my objects in two different passes. First the half of the objects from z 0.0 to 1.0, then the other half also in the area 0.0 to 1.0 (Both passes F2B). Is it then still possible? Thx, Vertex

Share this post


Link to post
Share on other sites
Advertisement
For blending that is order dependent, you must draw back to front. Some blending, like add or multiply, work whichever way you draw.

Standard blending (SRCALPHA, INVSRCALPHA) requires proper back to front drawing for any polygons that overlap, otherwise the math doesn't work. Depending on what you're drawing, this may not be noticeable. Most particle system don't sort all their particles, as they're so fast moving nobody will notice they're wrong.

Share this post


Link to post
Share on other sites
Quote:
Original post by Namethatnobodyelsetook
For blending that is order dependent, you must draw back to front. Some blending, like add or multiply, work whichever way you draw.

Standard blending (SRCALPHA, INVSRCALPHA) requires proper back to front drawing for any polygons that overlap, otherwise the math doesn't work. Depending on what you're drawing, this may not be noticeable. Most particle system don't sort all their particles, as they're so fast moving nobody will notice they're wrong.


Thx

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!