Skip to main content

main_light

Function main_light 

Source
pub fn main_light(sky: &SkySettings) -> (Vec3, [f32; 3], f32)
Expand description

The strongest light in the sky right now: (direction towards it, linear colour, intensity). The sun by day (orange near the horizon), a dim blue moon at night.