[osg-users] [ShadowScene traversal] program in Shadow rtt pass not overriden ?
Julien Valentin
julienvalentin51 at gmail.com
Fri Dec 8 11:01:25 PST 2017
..settings rttcams stateset in each technique seams more flexible than mod ShadowTechnique::CameraCullCallback...
mp3butcher wrote:
> 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=72559#72559
More information about the osg-users
mailing list