Hi
 
you need to manually create them and add to statesets. If you'll save model after that - they will be saved correctly and will be there on model load.
 
20.03.2012, 17:15, "Daniel Schmid" <[email protected]>:

Hi there

I was searching osg to find out what happens with textures when a model node is loaded from file (for example openflight *.flt model). Does osg automatically create uniforms samplers for shaders to access the textures? Do these uniforms have specific names ? or do I have to manually create and bind uniforms for the textures ?

 

Regards

Daniel

 

_______________________________________________
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