Hi, I just tested osg_ViewMatrix on OSG 2.2 win32 binaries using glsl_dataflag.osg and drawtext4.frag from osgToy, and yes it does continue to work.
While osg_ViewMatrix is preset by OSG, you do still have to declare it in your shader (eg uniform mat4 osg_ViewMatrix), unlike the gl_* presets. Turn up the OSG notify level, are you getting any infologs during compile/link? -- mew On Thu, October 25, 2007 10:56, Kim C Bale wrote: > Hi all, > > Is osg_ViewMatrix still supported as a preset uniform? I can't seem to > get it to recognise it within my glsl shader. Is it purely a driver > issue with my nv7800GS or do I need to do something special to enable me > to use it? > > Thanks, > > Kim. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

