Disable depth test for rendering of hull backface

This commit is contained in:
Robert Osfield
2014-01-20 15:54:48 +00:00
parent 5cb305041d
commit 54a3f76a2b

View File

@@ -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())