Hi,

I need to render back face of .ive models, in open GL is the syntax:
glEnable(GL_CULL_FACE);
glCullFace(GL_FRONT);   

Is the syntax in OSG these way? 
osg::StateSet *myst = new osg::StateSet();
myst->setMode(GL_CULL_FACE, osg::StateAttribute::ON); 
myst->setMode(GL_FRONT, osg::StateAttribute::ON); 
root->setStateSet(myst);

Why it doesn't work? I can see still front face. Where is my mystake?

Thank you.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10289#10289





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to