Optional
colorThe Light color. Default to Vec3(1)
.
Optional
intensityThe Light intensity. Default to 1
.
Optional
positionThe PointLight position. Default to Vec3(0)
.
Optional
rangeThe PointLight range, used to compute the PointLight attenuation over distance. Default to 0
.
Optional
shadowThe PointLight shadow parameters used to create a PointShadow. If not set, the PointShadow won't be set as active and won't cast any shadows. On the other hand, if anything is passed (even an empty object), the PointShadow will start casting shadows, so use with caution. Default to null
(which means the PointLight will not cast shadows).
Base parameters used to create a PointLight.