Thanks you very much for this answer !
Believe it or not , it really helped alot. :D


Robert Osfield skrev:
> On 7/26/07, Johan Johnsson <[EMAIL PROTECTED]> wrote:
>   
>> Is there any quick way to disable light when you build a simple cube by
>> vertices.
>>     
>
> geometry->getOrCreateStateSet()->setMode(GL_LIGHTING, 
> osg::StateAttribute::OFF);
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>   

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to