View Full Version : Addtive texture transparency

Asier Murciego
08-23-2000, 04:25 AM

how can i get additive transparency when drawing my textures? i use Blend( ONE, ONE ); but it doesn´t work as i expected.

i want saturated add:

Rs+Rd = (Rs+Rd) > 255 ? 255 : (Rs+Rd);


PD: do i have to use any extension like env_combine?

08-23-2000, 06:28 AM
Well ... glBlend(GL_ONE,GL_ONE) actually works that way (at least should work that way)

Asier Murciego
08-23-2000, 07:09 AM
i've found the problem...it was the zbuffer, (cause i'm not using to use zbuffering) that 'was eating' some pixels from the triangle...

thx anyway!!!