Header menu logo Mibo

PointLight Type

Point light (omni-directional). Falls off with distance.

Record fields

Record Field Description

Color

Full Usage: Color

Field type: Color

Light color. Multiplied with intensity for final contribution. Use warm colors (orange, yellow) for firelight, cool colors for moonlight.

Field type: Color

Intensity

Full Usage: Intensity

Field type: float32

Peak intensity at the source. Light attenuates toward zero at Range distance. Higher values = brighter light closer to source.

Field type: float32

Position

Full Usage: Position

Field type: Vector3

World position of the light center. Light attenuation is calculated from this point.

Field type: Vector3

Range

Full Usage: Range

Field type: float32

Maximum range of influence. Light attenuation falls to zero at this distance. Objects beyond this distance receive no contribution from this light.

Field type: float32

Shadow

Full Usage: Shadow

Field type: ShadowSettings voption

Shadow settings. Point lights use CubeMap shadows (6 faces). Expensive! Use sparingly or with low atlas resolution.

Field type: ShadowSettings voption

SourceRadius

Full Usage: SourceRadius

Field type: float32

Physical radius of the light bulb/sphere. Used for soft shadow calculations.

Field type: float32

Type something to start searching.