does it matter in which order transparent stuff is drawn?
If you just add the color values when doing alpha blending, does it matter if you draw the front window first and back window then or vice versa?
Would the visible result be any different?
If you're doing add, then no, order doesn't matter if ZWrite is disabled. If ZWrite is enabled, nearer objects may cause z rejection on further objects, stopping them from adding.
That's true for additive blending yes, but if you are drawing materials like windows then you normally don't do additive blending. In that case you need to draw your transparent surfaces back-to-front after all the other (solid) geometry has been drawn.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement