Pure NoFog — Minecraft Java Edition 26.3  (v2: vanilla + Sodium)
================================================================

Target game version:
  Minecraft Java Edition 26.3  (resource pack format 97.1)

Works with:
  - Vanilla 26.3. Tested in-game on the OpenGL backend. The Vulkan backend
    compiles the same shader files through the same compiler, so it is
    expected to behave identically (not tested in-game).
  - Sodium 0.9.3 for 26.3 (Fabric and NeoForge, alpha.1 and beta.1).
  - Iris (not tested): without a shader pack Iris renders terrain through
    Sodium, so it should behave like Sodium. With an Iris shader pack
    enabled, fog is controlled by the shader pack and no resource pack
    can change it.

SODIUM USERS — IMPORTANT:
  Turn OFF  Video Settings > Performance > "Use Fog Occlusion".
  Sodium skips drawing every chunk it thinks is hidden by fog (it decides
  this in Java code, before any shader runs). Under water that is anything
  past ~24-96 blocks, in lava past 1 block, with Blindness past 5 blocks.
  With this option on, those chunks are simply not drawn, so you see the
  background colour there even though the fog itself is gone.
  Also note: Sodium hides the sky while your camera is inside water or
  lava (its own choice, not fog), so the area above you shows the
  background colour.

What this pack does:
  - Removes ALL world fog that Minecraft draws through its fog shader:
      distance fog, Overworld/Nether/End atmospheric fog, rain fog,
      boss fog, underwater fog, lava fog, powder snow fog,
      Blindness fog and Darkness fog.
    In 26.3 every one of these is just a different set of numbers passed
    to the same shader function, so they are all removed together.
  - Removes Sodium's terrain fog (Sodium draws chunks with its own shader).
  - Keeps the chunk fade-in animation (vanilla and Sodium), unchanged.

What this pack does NOT change (and cannot, as a resource pack):
  - The background colour. Minecraft clears the screen with the fog colour:
    red in the Nether, orange in lava, blue under water, black with
    Blindness. Anything beyond your render distance shows that colour.
  - The sky is not drawn at all in lava, in powder snow, or with
    Blindness/Darkness (game code decision, not fog).
  - Screen overlays such as the fire overlay when you are in lava.
  - Render distance. Unrendered chunks stay unrendered.

Technical design:
  - assets/minecraft/shaders/include/fog.glsl
      Overrides vanilla's fog include. linear_fog_value() and
      total_fog_value() return 0, apply_fog() returns the input colour.
  - assets/sodium/shaders/include/fog.glsl
      Overrides Sodium's fog include with the same interface as Sodium
      0.9.3 (identical in all four 26.3 builds). Fog is zeroed; only the
      chunk fade-in term is kept.
  - pack.mcmeta contains  "sodium": { "ignored_shaders": ["fog.glsl"] }
      This tells Sodium the fog.glsl override is intentional, so Sodium
      does not show its "resource pack may be incompatible" warning.

Not supported:
  - Embeddium: there is no Embeddium release for Minecraft 26.3
    (the last one targets 1.21.1 / 1.21.4).
  - OptiFine / other renderers that replace the core shaders.

Installation:
  1. Put PureNoFog_26.3.zip in your resourcepacks folder.
  2. Enable it in Options > Resource Packs.
  3. If another resource pack also overrides fog.glsl, place Pure NoFog
     above it in the list.

Author: kotorito
