does one of you know, how i can make opengl to use alpha blending only for some of my GL_QUADS?
thx in advance
Hi, if u know which of ur quads must be blended, u should group them like this:
//**** the quads blended
I don’t if it works but u can try it
Thank you, i always used the
I just tries to use your version.
but it does not work
do you (or someone else) know a working sollution?
this would be very nice of you
ok, now i found the sollution.
i have to draw the transparent objects after drawing all the others.
Keep in mind that depending on the effect you are trying to achieve, you will either have to draw the transparent objects in order from furthest to nearest, -or- make the depth buffer read-only before drawing your unordered transparent quads. If you don’t make the depth buffer read-only, any transparent quad which is directly behind another transparent quad won’t get drawn if the nearer quad is rendered first.
[This message has been edited by MikeM (edited 08-11-2000).]