Skip to content

Lights โ€‹

Lights are used to illuminate scenes.

Foxel provides three light types:

  • Point Light
  • Spot Light
  • Directional Light

Point Light โ€‹

A Point Light emits light in all directions from a single point.

It is useful for local light sources such as lamps, bulbs, or small glowing objects.

Properties โ€‹

ColorDefines the color of the emitted light.
IntensityDefines the brightness of the light.
RangeDefines how far the light reaches.
Cast ShadowsEnables or disables shadow casting.
Shadow BiasAdjusts the shadow offset to reduce artifacts.

Spot Light โ€‹

A Spot Light emits light in a cone.

It is useful when you want to direct light at a specific area or object.

Properties โ€‹

ColorDefines the color of the emitted light.
IntensityDefines the brightness of the light.
RangeDefines how far the light reaches.
Spot AngleDefines the width of the light cone.
Spot BlendDefines the softness of the cone edge.
Cast ShadowsEnables or disables shadow casting.
Shadow BiasAdjusts the shadow offset to reduce artifacts.

Directional Light โ€‹

A Directional Light emits parallel light rays across the scene.

It is useful for broad lighting, such as simulating sunlight.

Properties โ€‹

ColorDefines the color of the emitted light.
IntensityDefines the brightness of the light.

INFO

In Foxel, only the sun can act as a shadow-casting directional light. Additional Directional Lights do not cast shadows.