ReflectivePlane
Reflective floor that mirrors the content above it
Reflective floor that mirrors the content above it
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| height | range | 0.7 | Vertical position of the reflective surface |
| distance | range | 0.5 | How far below the floor the reflection remains visible before fully fading to transparent. |
| falloff | range | 0.5 | Width of the fade zone, as a fraction of reflection distance. |
| blur | range | 3 | Maximum blur applied to the reflection far from the surface. |
| blurDistance | range | 0.3 | How far below the surface the blur takes to ramp from sharp to maximum. |
| edges | "stretch" | "transparent" | "mirror" | "wrap" | stretch | How to handle reflected samples that fall outside the source content. |
Usage
vue
<Shader>
<ReflectivePlane>
<Circle />
</ReflectivePlane>
</Shader>