Hi Bob,

Even if there’s only one stateset object created, do I still have to set it for the geometry nodes, or will they inherit from the parent path?

You intuition is correct, nodes and drawables under the one where you set the shaders/uniforms will inherit them. You can even change a shader or uniform value lower for one or several nodes, so the ones you set on the root act like "defaults" that will apply to all nodes under it except if they're overridden on other nodes/drawables.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to