[osg-users] [ShadowScene traversal] program in Shadow rtt pass not overriden ?

Julien Valentin julienvalentin51 at gmail.com
Fri Dec 8 10:07:13 PST 2017


Hi,

Hi
Shouldn't there be an overriding "simple gl_depth output" program for shadowscene traversal?!
I'll try to hack my way in

Code:
void ShadowTechnique::CameraCullCallback::operator()(osg::Node*, osg::NodeVisitor* nv)
{
    if (_shadowTechnique->getShadowedScene())
    {
        _shadowTechnique->getShadowedScene()->osg::Group::traverse(*nv);
    }
}


but if someone knows there's a good reason for that, please tell me ..

Thank you!

Cheers,
Julien

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72558#72558







More information about the osg-users mailing list