OptionalcastWhether the light casts shadows. Defaults to false.
OptionalcolorThe color of the light. Defaults to white.
OptionaldecayThe decay factor of the light. Defaults to 2.0.
OptionaldistanceThe maximum distance of the light. Defaults to 50.0.
OptionalintensityThe intensity of the light. Defaults to 1.0.
OptionalnameThe name of the light object. Defaults to "Light".
OptionalshadowA small offset to prevent shadow acne. Defaults to 0.005.
OptionalshadowAn offset along the surface normal to prevent shadow acne. Defaults to 0.0.
OptionalshadowThe resolution of the shadow map for this light. Defaults to 512.
Configuration options for point light.