Hello Jefferson,
Can you tell me, please, how to set a default texture for the root?
See src/osgShadow/ShadowMap.cpp around line 290, which starts with this
comment:
// fake texture for baseTexture, add a fake texture
// we support by default at least one texture layer
// without this fake texture we can not support
// textured and not textured scene
You can set this 1x1 white texture at the root of your graph, and if any
node has a different texture on unit 0 it will override it automatically.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org