Jared
1
Hi,
Which is generally the better method to use in a scene where some objects have varying degrees of alpha while others remain opaque:
-
Set up GL_BLEND to be enabled all the time, and then give opaque objects an alpha of 1.
-
Enable GL_BLEND for only the objects that will be blended, and disable it when drawing the opaque.
Thanks.
Obli
2
Quite sure it’s (2), especially if you group all your transparent objects and you render them after non-transparent objects have been rendered.
DJSnow
3
and one rule-of-the-thumb is first to render all non-transparent objects and then render all transparent objects.
dorbie
4
I have a strange feeling of deja-vu.