fn sky_texel(direction: Vec3) -> [f32; 4]Expand description
The colour one cube-map texel takes, from the direction it looks along.
The map holds two flat cloud colours and nothing else: a texel is either inside a cloud or it is not, so the shader can lay it over the sky with one blend and no falloff. The alpha of the result says whether there is a cloud there at all.