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
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
Hi all,
I'm trying to figure out a way to modify layer opacity using TexEnvCombine
that takes into account the underlying alpha channel of a texture.
The osgFX::MultiTextureControl does very close to what I'm looking to do,
but doesn't take into account the fact that the underlying texture may
Jason Beverage wrote:
Hi all,
I'm trying to figure out a way to modify layer opacity using
TexEnvCombine that takes into account the underlying alpha channel of
a texture.
Do you mean if unit 1's texture has transparency, you want that to show
through to unit 0's texture?
The
4 matches
Mail list logo