]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fixed alpha test
authorabd <abd@opencascade.com>
Mon, 28 Nov 2005 08:30:47 +0000 (08:30 +0000)
committerabd <abd@opencascade.com>
Mon, 28 Nov 2005 08:30:47 +0000 (08:30 +0000)
src/GLViewer/GLViewer_Drawer.cxx

index 74698b90c2a6367ecfd51ca4726981387a774594..999d4573a040a8d9c25f1a7833a31130e468cefa 100644 (file)
@@ -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 );