[osg-users] osgShadow question
Wyatt Earp
wyattbsearp1881 at gmail.com
Mon Nov 9 13:38:07 PST 2009
Is this what you are referring to?
if (withBaseTexture)
{
scene->getOrCreateStateSet()->setTextureAttributeAndModes( 0,
new osg::Texture2D(osgDB::readImageFile("Images/lz.rgb")),
osg::StateAttribute::ON);
}
W
-----Original Message-----
See the code for osgShadow::ShadowMap for an example of such a texture set
up.
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.guay at cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list