PointLight3D Type
Point light configuration for 3D scenes.
Record fields
| Record Field |
Description
|
Full Usage:
CastsShadows
Field type: bool
|
Whether this point 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 point light.
|
|
Full Usage:
Falloff
Field type: float32
|
Falloff curve exponent. 1.0 = linear, 2.0 = quadratic.
|
Full Usage:
Intensity
Field type: float32
|
Brightness multiplier. 1.0 = full, 0.0 = off.
|
World-space position of the light.
|
|
Full Usage:
Radius
Field type: float32
|
Maximum radius of influence.
|
Full Usage:
ShadowBias
Field type: float32 voption
|
Per-light shadow bias override. When None, uses the pipeline's global bias setting. Pipeline-dependent: Only used by pipelines that support shadow casting. Adjust this value to fix shadow acne (too low) or peter-panning (too high). Typical range: 0.001 to 0.01.
|
Mibo.Raylib