ReflectivePlane

Reflective floor that mirrors the content above it

Props

  • height

    Vertical position of the reflective surface

    Type
    number
    Default
    0.7
  • distance

    How far below the floor the reflection remains visible before fully fading to transparent.

    Type
    number
    Default
    0.5
  • falloff

    Width of the fade zone, as a fraction of reflection distance.

    Type
    number
    Default
    0.5
  • blur

    Maximum blur applied to the reflection far from the surface.

    Type
    number
    Default
    3
  • blurDistance

    How far below the surface the blur takes to ramp from sharp to maximum.

    Type
    number
    Default
    0.3
  • edges

    How to handle reflected samples that fall outside the source content.

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

Usage

<Shader>
  <ReflectivePlane>
    <Circle />
  </ReflectivePlane>
</Shader>