OSG 正面剃除

通常只能關閉背面剃除, 比較難找到正面剃除的接口 正面剃除用於OSG自帶的陰影採樣.code

osg::ref_ptr<osg::CullFace> cullface = new osg::CullFace(osg::CullFace::FRONT);
		set1->setAttribute(cullface, osg::StateAttribute::OVERRIDE);
相關文章
相關標籤/搜索