Hi Jamie, On 2 April 2014 17:01, Jaime <xatp...@hotmail.com> 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 osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org