struct
SpotLight
pub struct SpotLight {
pub position: Vec3,
pub target: Vec3,
pub color: Color,
pub intensity: f32,
pub distance: f32,
pub angle: f32,
pub penumbra: f32,
pub shadow: Option<Shadow>,
}A cone of light from a point towards target, fading out over distance (0 = no falloff).