Advertisement

AlphaBlending

Started by April 11, 2001 01:12 PM
0 comments, last by ThamasTah 23 years, 7 months ago
How can I do blending where the pixel will become the weighed average of the current pixel and the new texel? I can''t seem to get it to work Thanx in advance
you want this equation
A*C + B*(1-C)

A,B are the textures , C is the weight

check out the tex_env_combine extension (most cards support it) you can do this
INTERPOLATE_EXT Arg0 * (Arg2) + Arg1 * (1-Arg2)




http://members.xoom.com/myBollux

This topic is closed to new replies.

Advertisement