summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 16:30:57 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit1ed34e1538f45daecc2c8a551dc0fb7aba5f3f54 (patch)
treeeddcf21a1e5b35f7871b521c747e851b1134f512 /docs
parentbe09d1ec7abd71f4e52f05942a941d76b6d420f2 (diff)
downloadpardes-1ed34e1538f45daecc2c8a551dc0fb7aba5f3f54.tar.gz
pardes-1ed34e1538f45daecc2c8a551dc0fb7aba5f3f54.zip
Crt, Ripple and Glitch take a level, 0 to 3, tunable at run time
Coordinator's request: `Crt 0..3` (likewise Ripple, Glitch), 0 off, `on` the default level 2 (the polished rewrite), `off` and a bare word as before. The level is one uniform (pardesLevel, beside pardesOpaque in the prefix's own block); each pass picks its constants by it. Level 3 is at least as strong as the old effects, measured as pixels changed by more than 8 in a channel against a plain frame: Crt 18.3% (old 17.4%), Ripple 11.1% (9.5%), Glitch 9.3% a frame (8.1%); Glitch's level raises how often it bursts as well as how hard. Config and ctl report `Crt 2` / `Crt off`. Shared files touched: ninep/ctl.zig (the report line). Not touched: pardes.zig, Messages.zig, mouse.zig, gui.zig, detached/*.
Diffstat (limited to 'docs')
-rw-r--r--docs/render-pipeline.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/render-pipeline.md b/docs/render-pipeline.md
index d991a1ce..2fd6045b 100644
--- a/docs/render-pipeline.md
+++ b/docs/render-pipeline.md
@@ -507,7 +507,13 @@ Mirror ghostty 1.3.2 (`zig-pkg/ghostty-*/src/renderer/shadertoy.zig`,
the shell redraws its retained Surface (3.1), never a core tick or render.
- **Existing crt/ripple/glitch** become bundled Shadertoy files in
`shaders/post/` selected by the same builtins (decision 2: kept, polished);
- `scene_effects` and `crt.frag.glsl`/`crt.zig` are deleted. The chain is
+ `scene_effects` and `crt.frag.glsl`/`crt.zig` are deleted. Each bundled pass
+ takes a level, `Crt 0..3` (0 off, `on` the default 2, `off` and bare still
+ work), passed as `pardesLevel`: 2 is the polished rewrite, 3 at least as
+ strong as the old effects (pixels changed by more than 8 in a channel,
+ against a plain frame: Crt 18.3% vs 17.4% old, Ripple 11.1% vs 9.5%, Glitch
+ 9.3% a frame vs 8.1%); a Glitch level raises how often it slips as well as
+ how hard. The chain is
`Crt`, `Ripple`, `Glitch` and `Shader <path>` in the order they were put in
(`Shader off` empties it of files), `ShaderAnimation off|on|always`
(default on). The core keeps no clock for it: level A redraws are the