osg shader 相机观察矩阵逆矩阵 求顶点世界坐标
uniform mat4 osg_ViewMatrixInverse;//osg内置uniform void main() { vec4 posWorld = osg_ViewMatrixInverse*gl_ModelViewMatrix*gl_Vertex; ..... }

更多精彩
uniform mat4 osg_ViewMatrixInverse;//osg内置uniform void main() { vec4 posWorld = osg_ViewMatrixInverse*gl_ModelViewMatrix*gl_Vertex; ..... }