struct
PointLight
pub struct PointLight {
pub position: Vec3,
pub color: Color,
pub intensity: f32,
pub distance: f32,
pub shadow: Option<Shadow>,
}A light at a point, fading out over distance (0 = no falloff).
struct
pub struct PointLight {
pub position: Vec3,
pub color: Color,
pub intensity: f32,
pub distance: f32,
pub shadow: Option<Shadow>,
}A light at a point, fading out over distance (0 = no falloff).