IrisWipe

Reveal through an expanding circle growing from a center point

Props

  • progress

    How far the iris has expanded (0 = fully visible, 1 = fully wiped away)

    Type
    number
    Default
    0.5
  • center

    Point the iris expands from

    Type
    {x: number, y: number}
    Default
    {"x":0.5,"y":0.5}
  • feather

    Softness of the iris edge

    Type
    number
    Default
    0.1
  • invert

    Wipe from the outside inward instead

    Type
    boolean
    Default
    false

Usage

<Shader>
  <IrisWipe>
    <Circle />
  </IrisWipe>
</Shader>