blending colors
BlitzPlus Forums/BlitzPlus Programming/blending colors| 
 | ||
| Hi, I am wanting to create a function that can blend the edges of one image to another by a set percentage. Does anyone know if such a function already exsists, have had a scout through the archives but have not unearthed anything. I suppose what I need is a function that alpha's the top image edges by a variable amount, dependant on the shade of the pixel underneath it. Any ideas? | 
| 
 | ||
| I did this a while back... It might help http://www.blitzbasic.com/codearcs/codearcs.php?code=1325 | 
| 
 | ||
| Cheers Rob, I'll take a look. | 
| 
 | ||
| I did a cross-fade routine some time ago, it even takes percentages as a parameter: http://www.blitzbasic.com/codearcs/codearcs.php?code=1281 |