Mail got formated oddly ... trying again.

// Normalize normals to correct lighting from the scaling operation.
object->getOrCreateStateSet()->setMode(GL_NORMALIZE,osg::StateAttribute::ON);


On 6/11/10, Ben Cain <[email protected]> wrote:
> // Normalize normals to correct lighting from the scaling operation.
> object->getOrCreateStateSet()->setMode(GL_NORMALIZE,
> osg::StateAttribute::ON);
>
> On Fri, Jun 11, 2010 at 4:27 PM, Thomas Canipel
> <[email protected]> wrote:
>> Hi,
>>
>> I would like to know how I can re-scale the normal of an object loaded
>> after scale the object ?
>>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to