From 45383b4e11ff8e9d0a75906114df107bf3ddbd16 Mon Sep 17 00:00:00 2001 From: abd Date: Mon, 28 Nov 2005 08:30:47 +0000 Subject: [PATCH] Fixed alpha test --- src/GLViewer/GLViewer_Drawer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.2