Hi Glenn
thanks but this didn't work. We applied the mode on a loaded osg file.
Is this a problem?
Glenn Waldron schrieb:
node->getOrCreateStateSet()->setMode( GL_CULL_FACE,
osg::StateAttribute::OFF );
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
+1.703.652.4791
On Fri, Nov 13, 2009 at 12:59 PM, Dominic Stalder
<dominic.stal...@bluewin.ch <mailto:dominic.stal...@bluewin.ch>> wrote:
Hi there
is there a way to disable the backface culling of a node? If we
enable some transparency in a box, we want to see the back face.
Will there be a problem, if we use lighting, does the back face be
visible with the material color?
Thanks a lot and regards
Dominic
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
<mailto:osg-users@lists.openscenegraph.org>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org