API

Class IblShadowsRenderPipeline

Voxel-based shadow rendering for IBL's. This should not be instanciated directly, as it is part of a scene component

Hierarchy (View Summary)

Index
inspectableCustomProperties: IInspectable[]

List of inspectable custom properties (used by the Inspector)

onNewIblReadyObservable: Observable<void> = ...

Observable that triggers when a new IBL is set and the importance sampling is ready

onShadowTextureReadyObservable: Observable<void> = ...

Observable that triggers when the shadow renderer is ready

onVoxelizationCompleteObservable: Observable<void> = ...

Observable that triggers when the voxelization is complete

scene: Scene

The scene that this pipeline is attached to

uniqueId: any = UniqueIdGenerator.UniqueId

Gets the unique id of the post process rendering pipeline

voxelGridSize: number = 1.0

The current world-space size of that the voxel grid covers in the scene.

  • Apply the shadows to a material or array of materials. If no material is provided, all materials in the scene will be added.

    Parameters

    • Optionalmaterial: any

      Material that will be affected by the shadows. If not provided, all materials of the scene will be affected.

    Returns void