Builder

class Builder

Builder for creating IndirectLight instances.

Set reflections and/or irradiance, configure intensity and rotation, then call build().

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun build(engine: Engine): IndirectLight

Creates the IndirectLight object.

Link copied to clipboard

Sets the environment's overall intensity multiplier.

Link copied to clipboard

Sets the irradiance cubemap (for diffuse lighting only).

Sets the irradiance from pre-convolved spherical harmonics coefficients.

Link copied to clipboard

Sets the irradiance computed from radiance spherical harmonics coefficients.

Link copied to clipboard

Sets the reflections cubemap mipmap chain.

Link copied to clipboard

Rotates the environment mapping.