[osg-users] Model Matrix in Vertex Shader

Johny Canes catchaller at gmail.com
Thu Jan 26 10:32:59 PST 2017


osg_ViewMatrixInverse is not set on 3.4.0? This is always zero for me.

I use right settings:

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



(osg_ProjectionMatrix, osg_NormalMatrix, osg_ModelViewMatrix do work properly)

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








More information about the osg-users mailing list