[osg-users] getting userData or accumulated Uniform in nodevisitor

杨光 cupsunny666 at gmail.com
Mon Feb 1 02:38:45 PST 2021


Hello, I’m sorry to ask you, I use shader on osgearth, the coloring effect 
is unsatisfactory, and the coloring area will change with the movement of 
the camera, can you give some hints on this question ?

在2021年2月1日星期一 UTC+8 上午2:19:34<robert.... at gmail.com> 写道:

> Hi Werner,
>
> You'll need to override the Cull traversal behavior and get the StateSet 
> stack from the CullVisitor.  I don't recall the details off the top of my 
> head so you'll need to look at the osgUtil::CullVisitor and it's parent 
> class osg::CullStack for the tracking of state.
>
> Robert.
>

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/2dbc8e41-4c35-4e12-8f3e-ae6e9d178bf5n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210201/2f503f8f/attachment.html>


More information about the osg-users mailing list