pub const ENVIRONMENT_MAP_MIPS: u32 = 7;
Number of mips of the environment map. Mip i is prefiltered for the roughness i / (ENVIRONMENT_MAP_MIPS - 1).
i
i / (ENVIRONMENT_MAP_MIPS - 1)