0 Favourites

[EFFECT] ChannelToAlpha

This forum is currently in read-only mode.
  • 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:

    sendspace.com/file/jl0zr6

    Thanks go to tulamide for his support.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread sticky
276 261,933
gamecorpstudio's avatar
gamecorpstudio
Unread hot topic
164 38,121
totoe's avatar
totoe
Unread hot topic
0 Favourites
[Effect] mode7
124 46,021
roracle's avatar
roracle