Hi all,

I just want to set a bump mapping effect on a geode, but the only thing I
obtain is the geode all colored in black.
I didn't found any example of BumpMapping, and I didn't succed setting it on
my geode doing :

osgFX::BumpMapping* bump = new osgFX::BumpMapping();
>     bump->addChild(geodeMoon);
>     bump->setLightNumber(0);
>     bump->setDiffuseTextureUnit(0);
>     bump->setNormalMapTextureUnit(1);
>     bump->prepareChildren();


In my exemple, the texture1 and texture0 are the same, but I just want to
test if I have a result

How do you use it ?

Thanks.

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

Reply via email to