pub fn direction_to_equirectangular_uv(dir: Vec3) -> Vec2
Takes a unit direction and converts it to a uv lookup in an equirectangular map.