Bend

Bends the ends of the frame toward you like a curved display — content at the edges swells closer under real perspective, or curls away when the strength goes negative

Props

  • strength

    How hard the ends bend — positive curls them toward you (edges magnify), negative curls them away (edges recede into the frame)

    Type
    number
    Default
    0.5
  • falloff

    Concentrates the bend toward the ends — 0 curves the whole frame, higher keeps the middle flat and bends only near the edges

    Type
    number
    Default
    0
  • angle

    Direction of the bend axis in degrees — 0 bends the left/right ends, 90 bends the top/bottom

    Type
    number
    Default
    0
  • edges

    How to handle edges when the bend pulls content away from the frame border

    Type
    "stretch" | "transparent" | "mirror" | "wrap"
    Default
    transparent

Usage

<Shader>
  <Bend>
    <Circle />
  </Bend>
</Shader>