摘要: //设置背部剔除看不见背面东西 osg::ref_ptr cullface=new osg::CullFace(osg::CullFace::BACK); state->setAttribute(cullface.get()); state->setMode(GL_CULL_FACE,osg::StateAttribute::ON); 阅读全文
posted @ 2017-10-25 23:52 酷熊 阅读(1238) 评论(0) 推荐(0) 编辑