Component reference
Lighting components

Point Light component

4min

Description

The Point Light component emits light uniformly in all directions from a single point, similar to a light bulb. It affects nearby objects based on distance and can create localized lighting effects.

Document image



Properties

Property

Description

Color

Sets the color of the light emitted.

Intensity

Adjusts the brightness of the light.

Range

Defines the maximum distance the light reaches. A value of 0 means infinite range.

Decay

Determines how the light diminishes over distance. Higher values cause the light to fade more quickly.

Cast shadows

Enables or disables shadow casting from this light.

Shadow bias

Adjusts the shadow's position to reduce visual glitches caused by shadow rendering.

Usage notes

  • Local lighting: Ideal for simulating lamps, candles, or other localized light sources.
  • Position matters: Place the light near the objects you want to illuminate.
  • Range and decay: Adjust Range and Decay to control how far the light reaches and how quickly it fades.

Important details

  • No shadows: Point lights cannot cast shadows in the current system.
  • Performance: Multiple point lights can affect performance; optimize by limiting their number and range.