摘要: osg::StateSet* ss=node->getOrCreateStateSet(); 1、光照 ss->setMode(GL_LIGHTING, osg::StateAttribute::OFF); 2、填充模式 ss->setAttributeAndModes(new osg::Polyg 阅读全文
posted @ 2013-05-17 13:17 酷熊 阅读(1634) 评论(0) 推荐(0) 编辑