On top of prettifying textures with PBR enhancements, PBR-enhanced resource packs can also add custom fog definitions and apply them through the new fog stack (for further info, head to Minecraft.net). This fog stack is ordered by lowest priority…
Article Source
https://www.nvidia.com/en-us/geforce/guides/minecraft-rtx-texturing-guide/