API

Class FrameGraphIblShadowsRendererTask

Composite task that owns the individual IBL shadows frame graph tasks. The frame graph remains flat internally, but this task groups the pipeline and owns the child task implementation details.

Hierarchy (View Summary)

Index
dependencies?: Set<FrameGraphTextureHandle>

The (texture) dependencies of the task (optional).

depthTexture: FrameGraphTextureHandle

Depth texture handle used by tracing and blur. This should be the screen-space depth of all objects in the scene that will receive shadows. It is important that this texture stores 32-bit depth values to avoid artifacts.

normalTexture: FrameGraphTextureHandle

World-space normal texture handle used by tracing and blur. This should store the world-space normals of all objects in the scene that will receive shadows. Each component should be normalized to [0, 1] rather than [-1, 1]. Recommended to be 16-bit floating point though 8-bit unsigned byte can be used with minimal loss in quality.

onAfterTaskExecute: Observable<FrameGraphTask> = ...

An observable that is triggered after the task is executed.

onBeforeTaskExecute: Observable<FrameGraphTask> = ...

An observable that is triggered before the task is executed.

onTexturesAllocatedObservable: Observable<FrameGraphRenderContext> = ...

An observable that is triggered after the textures have been allocated.

outputTexture: FrameGraphTextureHandle

Final frame-graph texture handle produced by the task.

positionTexture: FrameGraphTextureHandle

Position texture handle used by accumulation. This should store the world-space position of all objects in the scene that will receive shadows. Should be stored as 16-bit floating point.

velocityTexture: FrameGraphTextureHandle

Velocity texture handle used by accumulation. This should store the linear velocity per pixel of all objects in the scene that will receive shadows. Should be stored as 16-bit floating point.