-
Addtive texture transparency
hi!
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);
thx!
PD: do i have to use any extension like env_combine?
-
Senior Member
OpenGL Guru
Re: Addtive texture transparency
Well ... glBlend(GL_ONE,GL_ONE) actually works that way (at least should work that way)
-
Re: Addtive texture transparency
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!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules