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 osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org