From: abd Date: Mon, 28 Nov 2005 08:30:47 +0000 (+0000) Subject: Fixed alpha test X-Git-Tag: BR_3_1_0_deb~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=45383b4e11ff8e9d0a75906114df107bf3ddbd16;p=modules%2Fgui.git Fixed alpha test --- diff --git a/src/GLViewer/GLViewer_Drawer.cxx b/src/GLViewer/GLViewer_Drawer.cxx index 74698b90c..999d4573a 100644 --- a/src/GLViewer/GLViewer_Drawer.cxx +++ b/src/GLViewer/GLViewer_Drawer.cxx @@ -671,7 +671,7 @@ void GLViewer_Drawer::drawTexturePart( GLuint texture, glEnable( GL_TEXTURE_2D ); glTexEnvf( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE ); - glAlphaFunc( GL_GREATER, 0.95F ); + glAlphaFunc( GL_GREATER, 0.05F ); glEnable( GL_ALPHA_TEST ); glBindTexture( GL_TEXTURE_2D, texture );