[EFFECT] ChannelToAlpha

Completed plugins, behaviors and effects.

Post » Wed Jul 04, 2012 5:55 pm

This is mostly an utility effect - it replaces/multiplies the original Alpha channel with/by either the Red, Green or Blue channel.

Parameters:

Channel - specifies which color channel is used 1 - Red, 2 - Green, 3 - Blue
Invert - inverts the channel values before replacement/merging 0 - invert, 1 - do not invert
Replace/Multiply - 1 - replaces the Alpha with the color channel 2 - multiplies the Alpha by the color channel

Invalid parameter values will cause the effect to not do anything.

Color premultiplication is only done if the channel is not inverted and replaces instead of multiplying over Alpha - otherwise, only the Alpha channel is affected resulting in an "additive" look for colors.

What's it good for? I personally use it combined with Erase/Mask to paste transparency into a Canvas.

Enjoy:

http://www.sendspace.com/file/jl0zr6

Thanks go to tulamide for his support.
B
8
S
2
G
2
Posts: 85
Reputation: 1,218

Return to Completed addons

Who is online

Users browsing this forum: No registered users and 0 guests