Hi Johny,

osg_ViewMatrixInverse is not set on 3.4.0? This is always zero for me.
How did you find out it is actually zero?

I use right settings:

Code:
state->setUseModelViewAndProjectionUniforms(true);
state->setUseVertexAttributeAliasing(true);

Did you set this at the camera's state set (Although I think the osg_ViewMatrix* are not related to the ModelViewProjectionUniform setting)
Is the osg_ViewMatrix working correctly?


Cheers
Sebastian



(osg_ProjectionMatrix, osg_NormalMatrix, osg_ModelViewMatrix do work properly)

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





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

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

Reply via email to