From 9885d15ff6187c1774db97cfd3b085eca9a82dfb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 17 Jul 2004 10:38:09 +0000 Subject: [PATCH] From Mike Weiblen, switched of alpha test on anisotropic effect, due to missing write of colour. --- src/osgFX/AnisotropicLighting.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osgFX/AnisotropicLighting.cpp b/src/osgFX/AnisotropicLighting.cpp index 04bbfa088..1bdee6037 100644 --- a/src/osgFX/AnisotropicLighting.cpp +++ b/src/osgFX/AnisotropicLighting.cpp @@ -216,6 +216,8 @@ namespace texenv->setMode(osg::TexEnv::DECAL); ss->setTextureAttributeAndModes(0, texenv.get(), osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); + ss->setMode( GL_ALPHA_TEST, osg::StateAttribute::OFF ); + addPass(ss.get()); }