Add Fensalir cathedral parity scaffold

This commit is contained in:
Meta Vens 2026-05-22 01:31:06 +01:00
commit 4d5e44fdd9
6 changed files with 149 additions and 19 deletions

View file

@ -5,7 +5,7 @@ namespace Aquarium.Fensalir;
public static class FensalirSceneBuilder
{
private static readonly Vector3 SpineCenter = new(0.0f, -0.55f, 2.9f);
private static readonly Vector3 SpineCenter = new(0.0f, -0.12f, 2.65f);
private const float SpineBoundRadius = 5.8f;
public static AquariumSceneState Build(float timeSeconds, float previousTimeSeconds)

View file

@ -195,6 +195,136 @@ float fractalNoise3(float3 p)
return sum;
}
float sdSegment2(float2 p, float2 a, float2 b)
{
float2 pa = p - a;
float2 ba = b - a;
float h = saturate(dot(pa, ba) / max(dot(ba, ba), 0.0001));
return length(pa - ba * h);
}
float lineGlow(float2 p, float2 a, float2 b, float thickness)
{
return exp(-sdSegment2(p, a, b) / max(thickness, 0.0001));
}
float diamondOutline(float2 p, float2 center, float2 radius, float thickness)
{
float2 q = abs(p - center) / max(radius, 0.001);
float d = abs(q.x + q.y - 1.0) * min(radius.x, radius.y);
return exp(-d / max(thickness, 0.0001));
}
float verticalPane(float2 p, float x, float z0, float z1, float width)
{
float heightMask = smoothstep(z0 - 0.02, z0 + 0.02, p.y) * smoothstep(z1 + 0.02, z1 - 0.02, p.y);
return exp(-abs(p.x - x) / max(width, 0.0001)) * heightMask;
}
float reedSilhouette(float2 p, float x, float tilt, float height)
{
float2 a = float2(x, -0.42);
float2 b = float2(x + tilt, -0.42 + height);
return exp(-sdSegment2(p, a, b) / 0.004) * smoothstep(0.32, -0.28, p.y);
}
float3 cathedralRadiance(float3 direction)
{
float2 p = float2(direction.x * 1.22, direction.z);
float verticalMask = smoothstep(-0.22, 0.08, p.y) * smoothstep(0.98, 0.68, p.y);
float horizonMask = exp(-abs(p.y + 0.115) * 42.0);
float centerAxis = exp(-abs(p.x) / 0.004) * smoothstep(-0.22, 0.72, p.y);
float diamonds = 0.0;
diamonds += diamondOutline(p, float2(0.0, 0.00), float2(0.15, 0.12), 0.004);
diamonds += diamondOutline(p, float2(0.0, 0.20), float2(0.19, 0.15), 0.0045);
diamonds += diamondOutline(p, float2(0.0, 0.43), float2(0.24, 0.18), 0.005);
diamonds += diamondOutline(p, float2(0.0, 0.70), float2(0.15, 0.15), 0.004);
float ribs = 0.0;
ribs += lineGlow(p, float2(-0.15, -0.05), float2(0.0, 0.11), 0.006);
ribs += lineGlow(p, float2(0.15, -0.05), float2(0.0, 0.11), 0.006);
float panes = smoothstep(0.07, 0.0, abs(p.x)) * verticalMask * 0.35;
panes += smoothstep(0.23, 0.0, abs(p.x)) * smoothstep(-0.18, 0.14, p.y) * smoothstep(0.62, 0.24, p.y) * 0.20;
float sideGlass = 0.0;
[unroll]
for (int index = 0; index < 8; index++)
{
float t = (float)index;
float spread = 0.30 + t * 0.075;
float height = 0.14 + t * 0.07;
float fade = 1.0 - t * 0.075;
sideGlass += verticalPane(p, -spread, -0.18, height, 0.0025 + t * 0.00045) * fade;
sideGlass += verticalPane(p, spread, -0.18, height, 0.0025 + t * 0.00045) * fade;
sideGlass += lineGlow(p, float2(-spread, -0.16), float2(-spread * 0.74, height - 0.08), 0.0028) * fade * 0.18;
sideGlass += lineGlow(p, float2(spread, -0.16), float2(spread * 0.74, height - 0.08), 0.0028) * fade * 0.18;
}
float patchField = max(0.0, abs(terrainHeight(float2(direction.x * 8.0, direction.z * 5.8 + 1.1))) - 0.022);
float patchSpark = smoothstep(0.002, 0.018, patchField) * smoothstep(-0.2, 0.72, p.y);
float dustNoise = fractalNoise3(float3(p * 16.0, 9.0));
float goldDust = pow(saturate(dustNoise - 0.48), 7.0) * (sideGlass + patchSpark) * 0.9;
float sideMagenta = (verticalPane(p, -0.46, -0.18, 0.18, 0.02) + verticalPane(p, 0.46, -0.18, 0.18, 0.02)) * 0.45;
float cyanCore = centerAxis * 1.35 + diamonds * 0.86 + ribs * 0.30 + panes * 0.40;
float3 color = float3(0.18, 1.35, 2.05) * cyanCore;
color += float3(0.05, 0.52, 0.78) * sideGlass * 0.025;
color += float3(1.25, 0.12, 0.74) * (sideMagenta * 0.20 + horizonMask * 0.10);
color += float3(1.0, 0.68, 0.24) * goldDust;
return color;
}
float3 screenCathedralRadiance(float2 uv)
{
float2 p = float2(uv.x - 0.5, uv.y);
float3 color = 0.0;
float horizon = exp(-abs(p.y - 0.345) * 82.0);
color += float3(1.12, 0.07, 0.68) * horizon * smoothstep(0.48, 0.08, abs(p.x)) * 0.42;
float axis = exp(-abs(p.x) / 0.0018) * smoothstep(0.16, 0.38, p.y) * smoothstep(1.03, 0.52, p.y);
float diamond = 0.0;
diamond += diamondOutline(p, float2(0.0, 0.39), float2(0.070, 0.075), 0.0022);
diamond += diamondOutline(p, float2(0.0, 0.52), float2(0.082, 0.085), 0.0023);
diamond += diamondOutline(p, float2(0.0, 0.66), float2(0.115, 0.105), 0.0024);
diamond += diamondOutline(p, float2(0.0, 0.80), float2(0.070, 0.078), 0.0020);
color += float3(0.18, 1.55, 2.3) * (axis * 0.70 + diamond * 0.65);
float paneFill = smoothstep(0.11, 0.0, abs(p.x)) * smoothstep(0.30, 0.48, p.y) * smoothstep(0.90, 0.58, p.y);
color += float3(0.06, 0.55, 0.72) * paneFill * 0.18;
[unroll]
for (int index = 0; index < 10; index++)
{
float t = (float)index;
float x = 0.105 + t * 0.034;
float top = 0.52 + t * 0.032;
float fade = saturate(1.0 - t * 0.055);
float left = verticalPane(p, -x, 0.31, top, 0.0016) * fade;
float right = verticalPane(p, x, 0.31, top, 0.0016) * fade;
color += float3(0.05, 0.52, 0.70) * (left + right) * 0.28;
color += float3(1.0, 0.10, 0.68) * (left + right) * smoothstep(0.14, 0.34, abs(p.x)) * 0.20;
}
float magentaGlass = 0.0;
magentaGlass += lineGlow(p, float2(-0.36, 0.31), float2(-0.22, 0.43), 0.0022);
magentaGlass += lineGlow(p, float2(0.36, 0.31), float2(0.22, 0.43), 0.0022);
magentaGlass += lineGlow(p, float2(-0.27, 0.38), float2(-0.16, 0.50), 0.0019);
magentaGlass += lineGlow(p, float2(0.27, 0.38), float2(0.16, 0.50), 0.0019);
color += float3(1.15, 0.12, 0.72) * magentaGlass * 0.26;
float ripple = exp(-abs(p.x) / 0.028) * smoothstep(0.31, 0.16, p.y) * smoothstep(0.02, 0.13, p.y);
ripple *= 0.42 + 0.58 * pow(saturate(fractalNoise3(float3(p * 38.0, 2.0)) - 0.20), 2.0);
color += float3(0.11, 1.25, 2.2) * ripple * 0.46;
float goldNoise = fractalNoise3(float3(p * 54.0, 5.0));
float dust = pow(saturate(goldNoise - 0.56), 12.0) * smoothstep(0.25, 0.42, p.y) * smoothstep(0.82, 0.52, p.y);
color += float3(1.0, 0.72, 0.28) * dust * 0.38;
return color;
}
float3 backgroundRadiance(float3 direction)
{
float horizon = smoothstep(-0.28, 0.34, direction.z);
@ -215,7 +345,7 @@ float3 backgroundRadiance(float3 direction)
float3 cathedral = float3(0.10, 0.66, 0.88) * cathedralPane * (0.22 + verticalShard * 0.35);
cathedral += float3(1.15, 0.16, 0.72) * cathedralPane * smoothstep(0.12, 0.52, abs(direction.x)) * 0.16;
cathedral += float3(1.0, 0.74, 0.28) * runeDust * 0.22;
return voidColor + cyan + magenta + mist + cathedral;
return voidColor + cyan + magenta + mist + cathedral + cathedralRadiance(direction) * 0.08;
}
float3 surfaceMirrorRadiance(float3 p, float3 direction, out float3 normal)
@ -229,13 +359,18 @@ float3 surfaceMirrorRadiance(float3 p, float3 direction, out float3 normal)
float magentaLeft = exp(-abs(p.x + 2.35) * 3.2) * smoothstep(2.4, -2.2, p.y);
float magentaRight = exp(-abs(p.x - 2.35) * 3.2) * smoothstep(2.4, -2.2, p.y);
float rippleSparkle = pow(saturate(fractalNoise3(float3(p.xy * 5.2, timeSeconds * 0.22)) - 0.47), 5.0);
float waterline = exp(-abs(p.y - 0.95) * 2.1) * smoothstep(4.8, 0.2, abs(p.x));
float reedMask = 0.0;
reedMask += reedSilhouette(float2(p.x * 0.22 - 1.18, p.y * 0.16 - 0.34), -0.05, -0.10, 0.45);
reedMask += reedSilhouette(float2(p.x * 0.20 + 1.18, p.y * 0.16 - 0.34), 0.02, 0.08, 0.36);
float fresnel = pow(1.0 - saturate(dot(normal, -direction)), 3.0);
float3 baseWater = float3(0.002, 0.014, 0.017);
float3 cyan = float3(0.35, 1.40, 2.35) * spineReflection * (0.38 + rippleSparkle * 0.55);
float3 magenta = float3(1.10, 0.08, 0.74) * (magentaLeft + magentaRight) * 0.12;
float3 gold = float3(1.0, 0.72, 0.26) * rippleSparkle * 0.032;
return baseWater + reflected * (0.16 + fresnel * 0.28) + cyan + magenta + gold;
float3 cyan = float3(0.35, 1.40, 2.35) * spineReflection * (0.26 + rippleSparkle * 0.32);
float3 magenta = float3(1.10, 0.08, 0.74) * ((magentaLeft + magentaRight) * 0.08 + waterline * 0.055);
float3 gold = float3(1.0, 0.72, 0.26) * (rippleSparkle * 0.032 + waterline * rippleSparkle * 0.08);
float3 water = baseWater + reflected * (0.18 + fresnel * 0.32) + cyan + magenta + gold;
return lerp(water, float3(0.0, 0.002, 0.002), saturate(reedMask));
}
RayMarchResult traverseRay(float3 origin, float3 direction)
@ -271,6 +406,7 @@ SceneOut D3D12ScenePS(VertexOut input)
float3 rayDirection = rayDirectionForPixel(pixel, jitterPixels, cameraPosition, cameraTarget);
RayMarchResult result = traverseRay(cameraPosition, rayDirection);
result.color += screenCathedralRadiance(screenUv);
SceneOut output;
output.colorTravel = float4(result.color, min(result.travel, farDistance + 1.0));

View file

@ -117,9 +117,8 @@ float sdfDistance(float3 p, int sdfIndex)
SdfObject scene = sdfObjects[sdfIndex];
float3 local = p - scene.centerRadius.xyz;
float spine = fensalirSpineDistance(local);
float pillars = fensalirPillarDistance(local);
float reeds = fensalirReedDistance(local);
return min(spine, min(pillars, reeds));
return min(spine, reeds);
}
SdfSurface sdfSurface(float3 p, int sdfIndex)
@ -127,9 +126,8 @@ SdfSurface sdfSurface(float3 p, int sdfIndex)
SdfObject scene = sdfObjects[sdfIndex];
float3 local = p - scene.centerRadius.xyz;
float spine = fensalirSpineDistance(local);
float pillars = fensalirPillarDistance(local);
float reeds = fensalirReedDistance(local);
float nearest = min(spine, min(pillars, reeds));
float nearest = min(spine, reeds);
float rune = pow(saturate(1.0 - abs(frac(local.z * 3.7 + local.x * 0.31) - 0.5) * 16.0), 2.6);
float coreGlow = pow(saturate(1.0 - length(local.xy) * 5.2), 2.0);
@ -149,13 +147,6 @@ SdfSurface sdfSurface(float3 p, int sdfIndex)
surface.roughness = 0.06;
surface.emission = float3(0.35, 1.55, 2.45) * (2.0 + coreGlow * 5.6 + rune * 2.4);
}
else if (nearest == pillars)
{
surface.baseColor = float3(0.018, 0.030, 0.034);
surface.metallic = 0.35;
surface.roughness = 0.34;
surface.emission = float3(0.75, 0.03, 0.48) * (0.13 + magentaEdge + rune * 0.10);
}
else
{
surface.baseColor = float3(0.006, 0.018, 0.014);

View file

@ -210,3 +210,4 @@
{"timestamp":"2026-05-21T12:10:00+01:00","topic":"reservoir-guide-debug-view","lesson":"Render debug mode 12 now visualizes the reservoir/TAA guide schema directly: red is current reservoir confidence, green is normalized guide sample age, and blue is domain validity. The previous debug view mixed confidence, temporal detail, and history weight, which made the labeled guide mode unable to diagnose guide-buffer bugs.","files":["src/Aquarium.Engine/Render/Shaders/D3D12Post.hlsl","state/map.yaml","state/memory.json"],"source":"continued after fixing the fractal guide producer and checking whether the visible debug mode matched the schema"}
{"timestamp":"2026-05-21T11:42:16+01:00","topic":"fensalir-splash-ripple-scene","lesson":"The first Fensalir art-target client proves a cleaner scene reproduction boundary than more abstract splat demos: the .aquageo patch owns the marsh surface and ripple brushes, FensalirSceneBuilder publishes those brushes plus one bounded SDF spine proxy, and client shaders own the dark reflective water/mist and luminous stacked-diamond hall silhouette. Aetheria's transferable primitive is the compact radial wave splat: envelope * powered cosine, not a bespoke water mesh. Missing future work is now visible at the right boundary: richer material/page DSL for water color/roughness, transparent fog density fields, and an IFS-owned spine/pillar grammar instead of a hand-authored first proxy shader.","files":["src/Aquarium.Fensalir/Worlds/fensalir-spine-emblem.aquageo","src/Aquarium.Fensalir/FensalirRuntime.cs","src/Aquarium.Fensalir/FensalirSceneBuilder.cs","src/Aquarium.Fensalir/Shaders/D3D12FensalirScene.hlsl","src/Aquarium.Fensalir/Shaders/D3D12FensalirSpine.hlsl","src/Aquarium.Engine.Fractal/Grammar/FractalDslCompiler.cs","src/Aquarium.Engine.Fractal/Brushes/FractalHeightBrushCompiler.cs","src/Aquarium.Engine.Contracts/Fractal/AquariumFractalContracts.cs","tests/Aquarium.Engine.Fractal.Tests/FensalirFractalSceneTests.cs","state/map.yaml","state/memory.json"],"source":"user pivoted from abstract Perfect Machine work to reproducing the documented Fensalir splash art as an actual DSL/rendering target"}
{"timestamp":"2026-05-22T01:20:00+01:00","topic":"fensalir-fixed-headless-capture","lesson":"Fensalir now has a repeatable headless frame-capture lane for art-target iteration. AquariumHost accepts --capture-frame plus headless width/height, suppresses overlay debug UI while headless, waits for ready frames, and saves the last presented backbuffer through IAquariumRenderer.SaveFramePng. scripts/capture-fensalir-frame.ps1 builds disposable engine/client slots and uses Start-Process with a timeout because Aquarium.Engine is a Windows GUI exe and plain PowerShell invocation can return before rendering is complete. The latest capture, artifacts/fensalir-captures/fixed-cathedral-forward.png, proves the current gap honestly: the cathedral silhouette is now visible and DSL patch claims drive surface/cathedral fields, but the spine/pillar grammar is still partly shader-authored and needs a real IFS-owned structural lowering before the splash reproduction stops being a hand-guided proxy.","files":["src/Aquarium.Engine/AquariumHost.cs","scripts/capture-fensalir-frame.ps1","src/Aquarium.Fensalir/FensalirRuntime.cs","src/Aquarium.Fensalir/FensalirSceneBuilder.cs","src/Aquarium.Fensalir/Shaders/D3D12FensalirScene.hlsl","src/Aquarium.Fensalir/Shaders/D3D12FensalirSpine.hlsl","src/Aquarium.Fensalir/Worlds/fensalir-spine-emblem.aquageo","tests/Aquarium.Engine.Fractal.Tests/FensalirFractalSceneTests.cs","state/map.yaml","state/memory.json"],"source":"user asked to exercise the cathedral through the DSL and set up fixed-camera headless capture for unattended renderer iteration"}
{"timestamp":"2026-05-22T01:32:00+01:00","topic":"fensalir-cathedral-guide-is-scaffolding","lesson":"The fixed capture made the visual failure impossible to dodge: Fensalir's previous shader/SDF mix had the nouns of the splash but not the image. A temporary screen-space cathedral guide now exposes the target composition more clearly in artifacts/fensalir-captures/fixed-cathedral-guide-clean.png, while SDF authority is cut back to the central spine/reeds instead of traced pillar rods fighting atmospheric glass. This guide is not final architecture. The next coherent slice is a separate `.aquageo`-lowered transparent pane/rune/material field target, distinct from the marsh height texture, so the cathedral glass, waterline glow, rune dust, and material confidence are authored field claims rather than hardcoded screen composition.","files":["src/Aquarium.Fensalir/Shaders/D3D12FensalirScene.hlsl","src/Aquarium.Fensalir/Shaders/D3D12FensalirSpine.hlsl","src/Aquarium.Fensalir/FensalirSceneBuilder.cs","state/map.yaml","state/memory.json"],"source":"user correctly mocked the prior receipt as visually nowhere near the provided splash reference"}

View file

@ -60,7 +60,7 @@ current_model:
splash_prompt: research/rendering/fensalir-spine-emblem-ifs-demo.md
ground_truth_image: src/Aquarium.Engine/Assets/Fensalir-Splash.png
fixed_capture: scripts/capture-fensalir-frame.ps1
latest_capture: artifacts/fensalir-captures/fixed-cathedral-forward.png
latest_capture: artifacts/fensalir-captures/fixed-cathedral-guide-clean.png
purpose: >
First artistic Fensalir reconstruction client: loads a .aquageo scene
patch, lowers marsh/water surface claims into shaped 2D ripple brushes,
@ -183,6 +183,7 @@ renderer_state:
- FractalFlameIterationState and FractalFlameIterationStepper define the persistent flame iteration invariant before GPU lowering: advancing a sample in chunks must match a one-shot advance from the same state. This is a parity/mock boundary for the future GPU state buffer, not a runtime CPU renderer.
- D3D12 capacity logging now reports active fractal reservoir resident MiB, splat count, visible debug splat count, updates/pass, and candidates/update so the GPU cache has a receipt in normal runtime logs, not just in the standalone benchmark.
- Fensalir has a fixed headless art-repro capture lane: `scripts/capture-fensalir-frame.ps1` builds disposable engine/client slots, launches the Fensalir client headless at an explicit resolution, waits for a ready frame, and writes a PNG through `IAquariumRenderer.SaveFramePng`. Headless capture disables overlay debug UI and locks the Fensalir camera/time so shader and `.aquageo` changes can be compared against `src/Aquarium.Engine/Assets/Fensalir-Splash.png` without manual window judgment.
- Fensalir currently has a temporary transparent cathedral guide in the scene shader to make splash-composition failures visible in fixed captures. This is scaffolding, not final architecture: the next coherent cut is a patch-lowered pane/rune/material field target separate from the marsh height field, so the cathedral glass/runes/waterline glow are authored DSL claims instead of hardcoded screen-space guidance.
- The consolidated fractal brush architecture plan defines the intended pipeline: client intent -> domain roots -> semantic IFS brush grammar -> ownership tree -> node summaries -> contribution cache/residency scheduler -> backend packets -> renderer passes -> debug/evidence, with explicit module boundaries and mockable unit-test seams.
- The Perfect Machine architecture lives in docs/perfect-machine-architecture.md. It is the current waterfall design authority for fast 2D/3D/projected scalar-field splats, Form/Appearance/Transport reservoir layers, SDF level-set surfaces for opaque solids, density/extinction/confidence fields for flames and sensor fusion, IFS `.aquageo` structural probes, Mimir-style camera/audio evidence candidates, ReSTIR/GRIS reservoir reuse, heuristic occupancy graph updates, resource-tier residency, and TAA guide-buffer integration.
- Fractal surface page planning now has a CPU boundary: FractalSurfacePagePlanner lowers selected IFS cuts into stable height, 2D signed-distance, material, and confidence page metadata; ZyphosFractalRenderPlan exposes these pages, while the live D3D12 page store and atlas remain future work.
@ -219,6 +220,7 @@ next_actions:
- Follow research/rendering/fractal-brush-architecture-plan.md before implementing the fractal brush DSL, IFS LOD cache, recursive detail residency, or learned contribution scoring.
- Follow docs/perfect-machine-architecture.md before expanding field splat backends, density/extinction packets, sensor-fusion candidate adapters, reservoir guide buffers, occupancy graph state, or stochastic learned priority.
- Use research/rendering/fractal-brush-implementation-roadmap.md as the actionable execution checklist for fractal brush work.
- Next Fensalir art slice: replace the temporary screen-space cathedral guide with a `.aquageo`-owned transparent pane/rune/material field target and feed it to the scene shader as its own texture/buffer, separate from the marsh height field.
- Next flame reference slice: build a JWildfire import/lowering report that separates supported, approximated, ignored, and rejected variation fields before expanding the GPU op set. Do not hide dialect loss behind successful XML parsing.
- Next flame renderer slice: mirror FractalFlameIterationState in a GPU UAV so program-flame mode can advance resident sample state over frames instead of replaying all depth from zero per splat. Weighting fields remain explicit rejected diagnostics until they become real DSL operator nodes.
- Follow docs/zyphos-eusocial-sync.md and E:\Projects\Eusocial Interbeing\Eusocial Interbeing\World\Zyphos Simulation Brief.md before turning Zyphos visual choices into setting claims.

View file

@ -33,7 +33,7 @@
],
"rendering": [
"Height-field shape is defined by brush data uploaded by the client. Epiphany currently supplies its gravity wells, CPU placement, and cursor projection; generic engine height-field and scene shaders consume the resulting brush constants.",
"Fensalir is now the engine brand and has a first artistic reconstruction client at src/Aquarium.Fensalir. It loads Worlds/fensalir-spine-emblem.aquageo, lowers the foreground marsh into shaped 2D ripple brushes, projects patch-owned cathedral detail into the scene shader, renders a custom dark water/mist scene shader, and draws the central luminous stacked-diamond spine through an SDF proxy shader. The fixed capture lane is scripts/capture-fensalir-frame.ps1, with latest comparison art under artifacts/fensalir-captures. The splash image at src/Aquarium.Engine/Assets/Fensalir-Splash.png and prompt note at research/rendering/fensalir-spine-emblem-ifs-demo.md are the art target, not incidental branding.",
"Fensalir is now the engine brand and has a first artistic reconstruction client at src/Aquarium.Fensalir. It loads Worlds/fensalir-spine-emblem.aquageo, lowers the foreground marsh into shaped 2D ripple brushes, projects patch-owned cathedral detail into the scene shader, renders a custom dark water/mist scene shader, and draws the central luminous stacked-diamond spine through an SDF proxy shader. The fixed capture lane is scripts/capture-fensalir-frame.ps1, with latest comparison art under artifacts/fensalir-captures. The current screen-space cathedral guide is scaffolding for visual parity only; replace it with a patch-lowered transparent pane/rune/material field target instead of letting it become production folklore. The splash image at src/Aquarium.Engine/Assets/Fensalir-Splash.png and prompt note at research/rendering/fensalir-spine-emblem-ifs-demo.md are the art target, not incidental branding.",
"The `.aquageo` DSL has a first-class `ripple` primitive for flat surface domains: center, radii, rotation, falloff, shape power, base amplitude, wave amplitude, radial frequency, speed, sine-power, seed, and tags. This is the Aetheria/Epiphany-style compact wave splat lowered into AquariumHeightFieldBrush; do not hard-code future water waves in client C# when the patch should own them.",
"The height-field surface is direct-traced as a terminating reflective surface over scalar height data. It writes the primary surface packet with FIELD_ID_HEIGHT_FIELD, terrain normal, full coverage, and Studio2 PMREM reflection; flat regions sample up to PMREM mip 3 while sloped/waved regions sharpen toward mip 0. Ray misses use a cone-averaged Studio2 PMREM mip 3 as the soft background so low-resolution mip texels do not become visible blocks.",
"Mouse/cursor-owned SDF bodies need object-motion reprojection. Carry current and previous cursor world anchors through frame constants and reproject cursor hits from current center to previous center.",