Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShadowRenderPass

Pass used for rendering shadows.

Hierarchy

  • ShadowRenderPass

Implements

  • RenderPass

Index

Constructors

constructor

  • Creates a new shadow render pass using the specified renderer.

    Parameters

    • renderer: Renderer

      The renderer to use.

    • Default value name: string = "shadow"

      The name for the render pass.

    Returns ShadowRenderPass

Properties

Private _filter

_filter: ShadowFilter

Private _lights

_lights: ShadowCastingLight[] = []

Private _shadow

_shadow: ShadowRenderer

name

name: string

The name for the render pass.

renderer

renderer: Renderer

The renderer to use.

Methods

addShadowCastingLight

clear

  • clear(): void

removeShadowCastingLight

render

  • render(meshes: Mesh3D[]): void

Generated using TypeDoc