摘要: uniform mat4 osg_ViewMatrixInverse;//osg内置uniform void main() { vec4 posWorld = osg_ViewMatrixInverse*gl_ModelViewMatrix*gl_Vertex; ..... } 阅读全文
posted @ 2019-04-16 15:58 酷熊 阅读(972) 评论(0) 推荐(0) 编辑