17 "title" :
"VuoImageBlend",
48 varying vec4 fragmentTextureCoordinate;
49 uniform sampler2D textureA;
50 uniform sampler2D textureB;
55 vec4 colorA = texture2D(textureA, fragmentTextureCoordinate.xy);
56 vec4 colorB = texture2D(textureB, fragmentTextureCoordinate.xy);
57 vec4 mixed =
mix(colorA, colorB, factor);
99 for (
unsigned long i = 2; i <= imageCount; ++i)
106 factor *= ((double)i - 1.) / i;