It seems it has a bug.
Pin Alpha does not change Alpha. It fades from Texture1 to Texture2.
change Line 83 to 85
from:
{CODE(ln=>2)}return lerp(texCol2,texCol1 , disp * Alpha);
to:
{CODE(ln=>2)}float4 foo = lerp(texCol2,texCol1 , disp);
foo.a = Alpha;
return foo; ^^
kalle
2
interesting.
assuming that my collection of modules and shaders is one of the largest around i still wonder what shader you are referring to.
cannot find it neither in my nodelist nor at user shaders.
I mean “BlendByTexture.fx” from “Slideshow (EX9)”
bjoern
4
I think this would be even better, at least when blending textures
that already have an alpha:
float4 foo = lerp(texCol2,texCol1 , disp);
foo.a *****= Alpha;
return foo;