Hi, This problem affects my shaders, since all my shaders rely on the correct view matrices.
robertosfield wrote: > > By default the osgViewer::Viewer/CompositeViewer runs the update > traversal before the camera matrices are set, this is done as camera > manipulators might be tracking movement of nodes in the scene which > are update in the update traversal so has to be run second. > > One thing you could do is set the camera view matrix prior to the > updateTraversal() method is called, or do the update of your Uniforms > explicitly after the updateTraversal(). How can I run a function after this updateTraversal that you speak of? Thank you! Cheers, Johny ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70156#70156 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org