HDRFiltering

Filters HDR maps to get correct renderings of PBR reflections

Hierarchy

  • HDRFiltering

Index

Constructors

Properties

Methods

Constructors

constructor

Find examples in Playground

Properties

hdrScale

Find examples in Playground
hdrScale: number

Scales pixel intensity for the input HDR map.

quality

Find examples in Playground
quality: number

Quality switch for prefiltering. Should be set to Constants.TEXTURE_FILTERING_QUALITY_OFFLINE unless you care about baking speed.

Methods

isReady

Find examples in Playground
  • Get a value indicating if the filter is ready to be used

    Parameters

    Returns boolean

    true if the filter is ready

prefilter

Find examples in Playground
  • prefilter(texture: BaseTexture, onFinished?: Nullable<function>): Promise<unknown> | undefined

Generated using TypeDoc