upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/code_hooks_test.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-28 19:47:50 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-28 19:47:50 -0500
commit915f7654b6fbcdca08ee85d91823dd5a9848b242 (patch)
tree13df1d15bbe8a5798a2382a49a934ef2d26e5dcd /runtime/test/code_hooks_test.cpp
parent1c6b8ae473377ac436d336301ec49b73cfc5d9a9 (diff)
Stand-in light: the light of transparent surfaces and particles can be bounded (LEONIDA_AMBIENT_ALPHA; off unless set)
The title lights its transparent surfaces and particles from a volume before the eye (32x16x64) that rays of its own fill (CS_GatherAlphaVBuffer, CS_ShadeAlpha, CS_VarianceFilterAlpha, CS_SpatialFilterAlpha). Without the ray structures they find the sky from everywhere, and in a room the dust in the air is lit as under the open sky: the white specks seen in Jason's house. LEONIDA_AMBIENT_ALPHA=<multiple> bounds that volume right after the last program that writes it, by a multiple of the light around, with the pass that bounds the air's light (LEONIDA_AB=<s>, LEONIDA_AMBIENT_ALPHA turns it on, at 4 unless a value is set, and off by turns). Unset or 0: as the title has it. From KyleS98/VIctory-Neo a6e85c6 (VICTORY_AMBIENT_ALPHA; specks gone at 1 and at 4 in the story's first house), GPL-3.0-or-later. Here the program is dispatched directly (the log says so once) and the pass runs on the 32x16 volume; on the balcony outside Jason's house, on and off by turns in three runs, the picture is the same. Not yet seen indoors, so it stays off until it has been. The hooks after indirect dispatches follow this role as well as the reflections' guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions