Toggle Sidebar B
Light & dark mode D

ReflectivePlane

Reflective floor that mirrors the content above it

Reflective floor that mirrors the content above it

Props

PropTypeDefaultDescription
heightrange0.7Vertical position of the reflective surface
distancerange0.5How far below the floor the reflection remains visible before fully fading to transparent.
falloffrange0.5Width of the fade zone, as a fraction of reflection distance.
blurrange3Maximum blur applied to the reflection far from the surface.
blurDistancerange0.3How far below the surface the blur takes to ramp from sharp to maximum.
edges"stretch" | "transparent" | "mirror" | "wrap"stretchHow to handle reflected samples that fall outside the source content.

Usage

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