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 โ
| Color | Defines the color of the emitted light. |
| Intensity | Defines the brightness of the light. |
| Range | Defines how far the light reaches. |
| Cast Shadows | Enables or disables shadow casting. |
| Shadow Bias | Adjusts 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 โ
| Color | Defines the color of the emitted light. |
| Intensity | Defines the brightness of the light. |
| Range | Defines how far the light reaches. |
| Spot Angle | Defines the width of the light cone. |
| Spot Blend | Defines the softness of the cone edge. |
| Cast Shadows | Enables or disables shadow casting. |
| Shadow Bias | Adjusts 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 โ
| Color | Defines the color of the emitted light. |
| Intensity | Defines 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.