Hi, John > it seems that it is not possible to put an uniform to the stateset of the > scene root (for example, light position) and to put Program at the bottom > (say, at a stateset of a drawable).
It's just not true, and works for me all the time. Can you post minimal example that dont work? Cheers, Sergey. 17.08.2012, 12:20, "PCJohn" <[email protected]>: > Hi, > > it seems that it is not possible to put an uniform to the stateset of the > scene root (for example, light position) and to put Program at the bottom > (say, at a stateset of a drawable). > > It seems to me that the Program and all its Uniforms must be put the same > StateSet. This way, it works for me. However, it is not a flexible approach. > Must the Program and all its Uniforms be put to the same StateSet or should I > investigate this "bug candidate"? > > John > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

