PDA

View Full Version : blending troubles



dam123
02-25-2009, 08:16 AM
So ive got a problem which I can not seem to find the solution to however i'm sure its trivial so if someone could help that would be brilliant.

I have two functions, one which draws a background and one which draws a texture (quad). Both are bitmaps.

I can get the quad to appear over the background but it appears "washed out" i.e. the background bleeds through so its semi transparent. How do i make the quad its normal color over the background?

Im confused about blending functions and alpha settings etc.

Cheers
D

ZbuffeR
02-25-2009, 09:46 AM
If you don't want blending, simply disable it altogether.
glDisable(GL_BLEND);