From 54a3f76a2b623e9d1d9bf3f881852669ec5a865b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 20 Jan 2014 15:54:48 +0000 Subject: [PATCH] Disable depth test for rendering of hull backface --- src/osgVolume/MultipassTechnique.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgVolume/MultipassTechnique.cpp b/src/osgVolume/MultipassTechnique.cpp index 34513cbb3..fafa7ed89 100644 --- a/src/osgVolume/MultipassTechnique.cpp +++ b/src/osgVolume/MultipassTechnique.cpp @@ -306,6 +306,7 @@ void MultipassTechnique::init() stateset->addUniform(new osg::Uniform("frontFaceDepthTexture",2)); stateset->setMode(GL_ALPHA_TEST,osg::StateAttribute::ON); + //stateset->setMode(GL_DEPTH_TEST,osg::StateAttribute::OFF); float alphaFuncValue = 0.1; if (cpv._isoProperty.valid())