Hi,
Anybody can explain what is the meaning of first parameter of function

void osg::StateSet::setTextureAttribute(unsigned int unit, StateAttribute *  
attribute, StateAttribute::OverrideValue, value = StateAttribute::OFF)

what is the meaning of unit?

The texture unit to be affected?

If I have multi texture... I have to use different unit value? from 0-N (N= num 
of texture i am going to apply)

Thx

        
... 

Thank you!

Cheers,
Nan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38963#38963





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

Reply via email to