Hi Robert and Community, this topic just raised again. In the interface of the named shadowmap there are methods to add shaders
setShadowVertexShader setShadowFragmentShader setMainVertexShader setMainFragmentShader And these works just fine. But there is no way to add uniforms or vertex data (as was discussed earlier this week for the Jaime's case). I am again to propose to extend the interface with accessing the osg::Program (which is locally defined at the moment). Any thoughts? Or there is other way to set the uniform for these shaders Thanks a bunch! Nick -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org