W. C. Picker
02-18-2003, 02:39 AM
I cant get glAlphaFunc() to work.
I use *.TGA 32bpp texture with an alpha channel. Alpha bits are written correctly (checked with debugger)
But it looks like every fragment is processed like it's alpha == 1.0
- mode is RGBA
- alpha test IS performed
- glAlphaFunc(GL_EQUAL, 1.0) draws everything
- (GL_LESS, 1.0) draws nothing.
I wonder what might go wrong?
I use *.TGA 32bpp texture with an alpha channel. Alpha bits are written correctly (checked with debugger)
But it looks like every fragment is processed like it's alpha == 1.0
- mode is RGBA
- alpha test IS performed
- glAlphaFunc(GL_EQUAL, 1.0) draws everything
- (GL_LESS, 1.0) draws nothing.
I wonder what might go wrong?