DirectionalLight3D Type
Directional light configuration for 3D scenes.
Record fields
| Record Field |
Description
|
Full Usage:
CastsShadows
Field type: bool
|
Whether this directional light casts shadows. Pipeline-dependent: Not all rendering pipelines support shadow casting. Pipelines that don't support shadows will ignore this field. Check your pipeline's documentation for shadow support details.
|
Color of the directional light.
|
|
Direction the light shines (should be normalized).
|
|
Full Usage:
Intensity
Field type: float32
|
Intensity multiplier.
|
Mibo.Raylib