Type Alias: LightingLightUniform
LightingLightUniform =
object
Defined in: modules/lighting/lights/lighting.ts:111
Packed per-light data written into the module's fixed-size uniform array.
Properties
attenuation
attenuation:
Readonly<NumberArray3>
Defined in: modules/lighting/lights/lighting.ts:119
Constant, linear, and quadratic attenuation coefficients.
color
color:
Readonly<NumberArray3>
Defined in: modules/lighting/lights/lighting.ts:113
Light color converted to normalized shader-space RGB.
coneCos
coneCos:
Readonly<NumberArray2>
Defined in: modules/lighting/lights/lighting.ts:121
Cosines of the inner and outer spotlight cone angles.
direction
direction:
Readonly<NumberArray3>
Defined in: modules/lighting/lights/lighting.ts:117
World-space light direction or a default placeholder for positional lights.
position
position:
Readonly<NumberArray3>
Defined in: modules/lighting/lights/lighting.ts:115
World-space light position or a default placeholder for non-positional lights.