Files
horizon-airdef/crates/horizon-shaders/tests/packs/post-test
Ludovic Marie 6b2ec5f830 Shader packs, clean room 8: a dimension's post-processing programs
What the renderer needs to run a pack's post-processing, still without
wgpu: the programs of one dimension (prepare, deferred, composite and
final with their numbered variants, in the order they run), each
preprocessed and translated, with the buffers it writes and the flips
that follow it, and the buffer settings its stage files carry.

- A dimension's folder (world0, world-1, world1) replaces the base folder
  when it exists. program.<name>.enabled expressions over switch options,
  flip.<program>.<buffer> keys and the virtual deferred_pre and
  composite_pre. Programs with a geometry stage, or that fail to
  preprocess or translate, are reported and skipped.
- tests/packs/post-test: Horizon's own small test pack (tint, depth in
  colortex2, depth bands on half the screen, vignette).

Black box over the public test packs: every dimension of every pack
loads its post-processing programs (2 to 9) with no note.

Nothing uses it yet: players see no change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 22:23:43 +02:00
..

post-test

Horizon's own shader pack for testing post-processing (written for Horizon, no other pack's code). composite tints the world warm and stores linear depth in colortex2, composite1 shows that depth as fog bands on the right half with a little noise, and final adds a vignette. Copy the folder into shaderpacks/ and run the game with HORIZON_SHADER_PACK=post-test.