Alberto Luaces wrote:
If I reverse the normals the opposite side lights up as expected .. Am I doing
something wrong..
Are you expecting both sides to be lit identically (i.e.: the front lit
as brightly as the back) ? Keep in mind that OpenGL doesn't do global
illumination (that is, light doesn't bounce), if a surface isn't
facing a light source, it won't be lit.
If you only have one light source in the scene, and the front side is
facing toward it, then the front side will be lit and the back won't.
If you're trying to get both the front and back to be lit at a similar
intensity, you may need to add one or more lights to the scene so that
the back faces are also facing a light source.
--J
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org