Skip to content

Documentation / scene / ForwardPlusOptions

Interface: ForwardPlusOptions

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

Options controlling which features are enabled in the forward+ pipeline.

Derived from camera settings and device capabilities each frame.

Properties

depthPrepass

depthPrepass: boolean

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

Enable depth prepass (always true for now).


motionVectors

motionVectors: boolean

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

Enable motion vectors (requires TAA or motionBlur).


hiZ

hiZ: boolean

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

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


ssr

ssr: boolean

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

Enable screen-space reflections.


ssrCalcThickness

ssrCalcThickness: boolean

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

Whether to compute SSR thickness.


gpuPicking

gpuPicking: boolean

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

Whether GPU picking is requested this frame.


needSceneColor

needSceneColor: boolean

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

Whether transmission/refraction materials are present.


needSceneColorWithDepth

needSceneColorWithDepth: boolean

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

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


needsTransmissionDepthForSSR

needsTransmissionDepthForSSR: boolean

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

Whether SSR needs transmission depth before the main light pass.


sss

sss: boolean

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

Enable screen-space subsurface scattering.


skinSSS

skinSSS: boolean

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

Enable the stylized skin-specific SSS pass.

Released under the MIT License.