diff --git a/docs/shader-packs.md b/docs/shader-packs.md index ee1812e7f..e3dd5fbca 100644 --- a/docs/shader-packs.md +++ b/docs/shader-packs.md @@ -50,7 +50,7 @@ The lightmap, fog and sky colours are computed on the CPU (`environment.rs`, `fo ### Where packs live and how one is picked - Packs go in `shaderpacks/` beside `options.txt` in the game folder (the same folder Iris uses, so one folder - holds both kinds). A pack is a folder or a `.zip`. A pack with a `pack.toml` at its root is a Horizon pack; a pack + holds both kinds). A pack is a folder (zips planned). A pack with a `pack.toml` at its root is a Horizon pack; a pack with a `shaders/` folder is a Java pack. - **Options → Video Settings → Shader Packs...** (Classic screens, laid out like Iris's: the packs on the left with "(off)" first, Apply and Done, *Open Shader Pack Folder*, *Shader Pack Settings...*) and a **Shader Packs** row in @@ -148,13 +148,13 @@ struct Frame { camera_position: vec4, // xyz: world position of the eye (f32, so ~1 mm precision at 30 000 blocks) resolution: vec4, // width, height, 1/width, 1/height of this stage's target time: vec4, // seconds since the pack loaded, frame counter, day fraction (0 = sunrise), partial tick - sun: vec4, // xyz: direction to the sun (view-independent, world space), w: sun angle (vanilla's) + sun: vec4, // xyz: direction to the sun (world space), w: sun angle in radians (0 at noon) moon: vec4, // xyz: direction to the moon, w: moon phase (0..7) sky_color: vec4, // vanilla's sky colour this frame fog_color: vec4, // vanilla's fog colour this frame (what the world pass clears to) fog: vec4, // environmental fog start, end; sky fog end; cloud fog end (blocks) weather: vec4, // rain level, thunder level, 0, 0 (smoothed as vanilla does) - camera_state: vec4, // submerged in: 0 air, 1 water, 2 lava, 3 powder snow; night vision; darkness; blindness + camera_state: vec4, // submerged in: 0 air, 1 water, 2 lava, 3 powder snow; night vision; darkness; blindness (0 for now) view_params: vec4, // near, far (Camera.depthFar), render distance (blocks), vertical FOV (radians) dimension: vec4, // 0 overworld, -1 nether, 1 end; has sky light; 0, 0 }