Jason Beverage wrote:
Hi Jason,

You're exactly right, if texture 1 has transparency, then I want texture 0 to show through no matter what. Doing something like the following on unit 0 works great in that case, but I also want to add in another scaling factor that will scale the alpha value of the texture from 0 to 1 to essentially act as a slider for the opacity. I'll keep hacking along, but I might need to just stick with shaders.

Yeah, at first I thought i had an easy answer to your question, but as I looked into it I realized just how many combinations you can come up with for TexEnvCombine settings. I just sent you my best guess, which is probably way off.

Let me know if you figure it out...

--"J"

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

Reply via email to