Hi Jamie, On 2 April 2014 17:01, Jaime <[email protected]> wrote: > I want to use matrix uniforms with GLSL shaders. > > I want to use MVM (modelview matrix) , MVP (modelviewprojection matrix) and > NormalMatrix. > > How can I update it?
To update a uniform you simply do: myuniform->set(value); You can do this from your main loop, a node update callback or an update callback attached to the uniform. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

