#ifdef FOG_ENABLED_NETHER
	color.rgb = mix(calcFogColor(posNorm), color.rgb, exp2(dist * exp2(abs((gbufferModelViewInverse * vec4(pos, 1.0)).y + cameraPosition.y - 128.0) * -0.03125 + 4.0) * -FOG_DISTANCE_MULTIPLIER_NETHER));
#endif