[TuxKart-devel] Alpha not working nicely on RaceGUI.cxx
Status: Alpha
Brought to you by:
sjbaker
From: <ri...@ae...> - 2004-09-01 22:29:27
|
Hi there,=20 =20 Just wanna report that alpha isn't working that well in the=20 RaceGUI.cxx code. =20 I suspect it is because of this:=20 =20 glEnable ( GL_ALPHA_TEST ) ;=20 glAlphaFunc ( GL_GREATER, 0.1 ) ;=20 glEnable ( GL_BLEND ) ;=20 =20 I don't know OpenGL that well, but shouldn't this be something like=20 this:=20 =20 glEnable(GL_BLEND);=20 glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);=20 =20 Cheers,=20 Ricardo=20 =20 -- =20 To refuse praise is to seek praise twice.=20 =20 _________________________________________________________ Pensa comprar um carro novo? Pe=E7a uma proposta online: Audi, VW ou Skod= a http://www.aeiou.pt/promo/siva/ |