BarnDoors

Split the content along a center line and wipe outward in both directions

Props

  • progress

    How far the doors have opened (0 = fully visible, 1 = fully wiped away)

    Type
    number
    Default
    0.5
  • angle

    Direction the doors open in degrees (0 = apart horizontally)

    Type
    number
    Default
    0
  • feather

    Softness of the wipe edges

    Type
    number
    Default
    0.1
  • invert

    Close in from both edges instead of opening from the center

    Type
    boolean
    Default
    false

Usage

<Shader>
  <BarnDoors>
    <Circle />
  </BarnDoors>
</Shader>