Alpha Choker

2D Modifier  -  Crop an image using alpha

AlphaChokerTextureModifier AlphaChokerTextureModifier AlphaChokerTextureModifier AlphaChokerTextureModifier

Crop the image n pixels inward in order to cut the edges accordingly to the alpha channel of the image. Note that you can do some kind of a border on the outward of the image by setting the Choke parameter in negative. Here is an example (the right part is alpha choked by a -8.52 px):

AlphaChoker AlphaChoker


Variables:

  • Choke: Choke of the alpha choker
  • Iterations: Iterations of the alpha choker
  • Size: Size of the alpha choker

Python

    Oil.createObject("AlphaChokerTextureModifier")