Nevermind, I figured out that you have to put the following at the top of the 
vertex shader before being able to use osg_ViewMatrixInverse:

uniform mat4 osg_ViewMatrixInverse;

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51661#51661





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to