Hello all OSGers!

I have two simple questions.


Question 1:

I have two texture layers, L0 and L1

What is the best way in OSG to crossfade between these?

What I want is:  L0 * (a)  +  L1 * (1 - a)

I think it must be either osg::TexEnv or osg::TexEnvCombine. But how  
should they be setup?



Question 2:
Is it more efficient to do this operation in a shader?


-- 
Joakim Simonsson
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to