From 11204e1206f7f7ffeaa861c1a442a312e563d3ed Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 10:46:03 -0300 Subject: effects out, the post chain: Crt, Bloom, Vignette, Grain, Shader and ShaderAnimation go with src/gui/Post.zig, src/ShaderBuild.zig (the run-time glslc spawn and its watched files), shaders/post/, post.vert, bloom-down and bloom-up and their prebuilt .spv, the window's scene texture and its post-chain-only redraw (level A), the disable_scene_effects tape site and Pardes.disableSceneEffects; EffectCode goes with src/effect_sources.zig, which only embedded the effects' sources (/virtual keeps src/); the corner-click test keeps its point without a chain, the window monkey loses its Bloom axis; macOS's post-processor (ScenePostprocessor.swift, crt.ci.metal, pardes_scene) is a change of its own Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- docs/typ/reference.typ | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'docs/typ/reference.typ') diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index de886c87..84eeff47 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -373,9 +373,8 @@ reads changes nothing. Writes take settings and session builtins (`scope = .session` in `src/builtins.zig`), acting at the pane with the keyboard: -- A setting written bare steps to its next value (a switch flips; so does - #word("Crt")). A value it does not - take is `bad value in control message; ...` naming what it takes; +- A setting written bare steps to its next value (a switch flips). A + value it does not take is `bad value in control message; ...` naming what it takes; #file("/commands") lists them. A setting the frontend cannot show is refused (`Lift is GUI-only, invalid here`). - #word("Newcol") makes an empty column right of the keyboard's, halving @@ -420,9 +419,8 @@ runs fails with the editor's words (`Mount: already mounted`, `Save /root/x: acc == Settings -A setting that chooses among words (`on`/`off` switches, #word("Crt"), #word("Bloom"), -#word("Vignette"), #word("Grain"), #word("Lift"), #word("Motion"), -#word("ShaderAnimation")) steps to its next value when given bare, as its +A setting that chooses among words (`on`/`off` switches, #word("Lift"), +#word("Motion")) steps to its next value when given bare, as its word clicked in a tag does. The same lines go in the startup file (#doc("config")). @@ -468,11 +466,7 @@ turning it off: #word("PanelSlide"), #word("PanelZoom"), #word("PanelDissolve"), #word("PanelAscii"), #word("PanelVertical"), #word("PanelEdges"), #word("PanelFall"), #word("PanelWave"), #word("PanelCurtain"), #word("PanelScramble"), #word("PanelType"); all -start off, and the web shell has none. Scene passes (the SDL window), each at a level 0-3 (`on` is 2), all -off: #word("Crt"), #word("Bloom"), #word("Vignette"), #word("Grain"). -#word("Shader") `` adds a Shadertoy file written for ghostty to the -chain (#word("Shader") `off` removes it; it recompiles when saved); -#word("ShaderAnimation") `off|on|always` says when the chain animates by itself. The +start off, and the web shell has none. The focused pane can stand off the page: #word("Lift") `shadow|rim|auto|off`, #word("InactiveDim") ``, #word("Motion") `off|crisp|smooth|bouncy|playful` (default `smooth`), #word("SelectionGlow"), #word("HoverGlow"), #word("Occlusion"), @@ -481,8 +475,6 @@ focused pane can stand off the page: #word("Lift") `shadow|rim|auto|off`, the GUI's; #word("InactiveDim") works everywhere, and #word("JumpTrail"), #word("ChipShadow") and #word("ThumbFlash") are the terminal's. No effect may lower the contrast of text, the selection or a focus indicator. -#word("EffectCode") `` lists that effect's sources under `/virtual` when the -build embeds them. Resting the pointer on text for about 32 ms (`look_preview_delay_frames`, 2 frames, in `src/config.zig`; `null` turns it off) tints what #word("Look") would take, with no other effect. A terminal's or a `+Pager`'s @@ -969,9 +961,7 @@ at 200, ending in `…`. Control characters become spaces. zero; create, remove, rename and mode changes are refused as not permitted (`permission denied`, EACCES through a mount); ownership is synthetic. Linux v9fs's truncation `mtime` hint is accepted and dropped. -- #file("/src/") (and #file("/shaders") on GUI builds) with - `-Dembed-sources=true`; #word("EffectCode") `` lists an effect's files - under `/virtual`. +- #file("/src/") with `-Dembed-sources=true`. = The pardes command -- cgit v1.3