[osg-users] osgShadow culling faces

2012-03-23 Thread Daniel Schmid
Hi there

I have some objects whose shadow looks ugly when the front faces are culled. 
For those objects, I would like to have front and back faces taken into account 
for shadow rendering, for others I can go with backfaces. Unfortunately, the 
face fulling is a property of the camera. How can I handle it on a per node 
basis ?

Regards
Daniel


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgShadow culling faces

2012-03-23 Thread Sergey Polischuk
Hi, Danielyou can set correct osg::CullFace attribute to stateset of graph branches where you need it Cheers, Sergey23.03.2012, 17:10, "Daniel Schmid" daniel.sch...@swiss-simtec.ch:Hi there I have some objects whose shadow looks ugly when the front faces are culled. For those objects, I would like to have front and back faces taken into account for shadow rendering, for others I can go with backfaces. Unfortunately, the face fulling is a property of the camera. How can I handle it on a per node basis ? RegardsDaniel  ___osg-users mailing listosg-users@lists.openscenegraph.orghttp://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