Renderer · interface
FrameReflections
How the frame's materials reflect it. Every field optional; see DEFAULT_FRAME_REFLECTIONS.
Explained in Hello world.
interface FrameReflectionsimport type { FrameReflections } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
maxRoughnessreadonlyoptional | number | The roughness past which a surface reflects the probes alone, faded over the last quarter. |
reachMreadonlyoptional | number | How far a ray travels before it gives up, in metres. |
thicknessMreadonlyoptional | number | How deep a depth sample is believed to be, in metres. See ScreenSpaceMarch.thicknessM. |
stepsreadonlyoptional | number | Samples along a ray, at most 32. |
blurreadonlyoptional | number | How far a fully rough reflection is smeared, as a share of the frame's height. |