Skip to content

Documentation / scene / ForwardPlusOptions

Interface: ForwardPlusOptions

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:342

Per-frame Forward+ feature options.

Properties

depthPrepass

depthPrepass: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:344

Enable depth prepass (always true for now).


motionVectors

motionVectors: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:346

Enable motion vectors (requires TAA or motionBlur).


hiZ

hiZ: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:348

Enable Hi-Z pyramid (for SSR ray tracing).


hiZNearest

hiZNearest: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:353

Add the nearest-depth channel to the Hi-Z pyramid (for proximity queries). Implies ForwardPlusOptions.hiZ.


sceneNormal

sceneNormal: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:355

Produce opaque-scene world normals.


sceneRoughness

sceneRoughness: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:357

Produce opaque-scene roughness data.


shadowMask

shadowMask: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:359

Produce and consume the clustered screen-space shadow mask.


ssr

ssr: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:361

Enable screen-space reflections.


ssgi

ssgi: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:363

Enable screen-space diffuse global illumination.


ssrCalcThickness

ssrCalcThickness: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:365

Whether to compute SSR thickness.


gpuPicking

gpuPicking: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:367

Whether GPU picking is requested this frame.


needSceneColor

needSceneColor: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:369

Whether transmission/refraction materials are present.


needSceneColorWithDepth

needSceneColorWithDepth: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:371

Whether scene-color-dependent materials also require scene depth.


needsTransmissionDepthForSSR

needsTransmissionDepthForSSR: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:373

Whether SSR needs transmission depth before the main light pass.


sss

sss: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:375

Enable screen-space subsurface scattering.


skinSSS

skinSSS: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:377

Enable the stylized skin-specific SSS pass.


fogPresents

fogPresents: boolean

Defined in: libs/scene/src/render/rendergraph/forward_plus_builder.ts:379

Whether height fog is composited over the opaque scene this frame.

Released under the MIT License.