blending colors

BlitzPlus Forums/BlitzPlus Programming/blending colors

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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?