Hi Sunil, Sunil S Nandihalli writes:
> Hello everybody, > I would like to have both the front and the back side of the polygons I draw > lit. Right now I have specified the normals and only the side which is on the > same side as that of the normals is being lit.. > Should I render the same-geometry twice and add normals to it so that it is > lit on both sides.. I realized this might not be the right way to do it.. > Does any of you have any suggestion? You are already doing it right. Just render once, disable the face culling with osg::StateSet in order to allow both sides to be seen, and specify a material for the back side or at the same time you defined the front one. -- Alberto _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org