PointLight Type
Point light (omni-directional). Falls off with distance.
Record fields
| Record Field |
Description
|
Light color. Multiplied with intensity for final contribution. Use warm colors (orange, yellow) for firelight, cool colors for moonlight.
|
|
Full Usage:
Intensity
Field type: float32
|
Peak intensity at the source. Light attenuates toward zero at Range distance. Higher values = brighter light closer to source.
|
World position of the light center. Light attenuation is calculated from this point.
|
|
Full Usage:
Range
Field type: float32
|
Maximum range of influence. Light attenuation falls to zero at this distance. Objects beyond this distance receive no contribution from this light.
|
|
Shadow settings. Point lights use CubeMap shadows (6 faces). Expensive! Use sparingly or with low atlas resolution.
|
Full Usage:
SourceRadius
Field type: float32
|
Physical radius of the light bulb/sphere. Used for soft shadow calculations.
|
Mibo