Hey all!

I need a simple fade effect, is it possible to use osg::BlendFunc for this?

osg::ref_ptr<osg::BlendFunc> wakeBlend = new osg::BlendFunc();
wakeBlend->setFunction(osg::BlendFunc::DST_COLOR, osg::BlendFunc::ZERO);

I whould like to increase the alpha value each frame, is there any way to  
define the alpha or transparacy using this osg::BlendFunc?, its actually  
only a model i load, which i want to fade (its a common bitmap) in and out  
over 2 seconds.

-- 
Mr. Johan Johnsson
AutoSim AS, Strandveien 106, 9006 Tromsø
Visit us at http://www.autosim.no
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to