Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

DN0: docs/denoise.feature (DN0-DN12) and docs/denoise-upscale-research.md: raea's own WGSL denoiser and upscaler on every OS, MetalFX and DLSS-RR as optional backends held to one bench

shinyobjectz6f6362040b59
diff --git a/docs/denoise-upscale-research.md b/docs/denoise-upscale-research.md
new file mode 100644
index 00000000..7c90c80d
--- /dev/null
+++ b/docs/denoise-upscale-research.md
@@ -0,0 +1,151 @@
+# Denoisers and upscalers: what raea should standardise on (research, 2026-11-24)
+
+**Decided 2026-11-24 (Shane):** standardise on what raea can own: its own WGSL denoiser and upscaler on every OS and GPU.
+MetalFX and DLSS-RR stay optional backends. The build is docs/denoise.feature (DN0-DN11).
+
+Asked during MALL RAT (Raea/anchor-tenant). That film runs Solari with MetalFX's denoised scaler and is clean at full size;
+what's left there is in "What MALL RAT still shows". This note looks wider: every GPU and OS raea runs on, real-time play
+and offline finals, and one contract every backend reads. Bevy 0.20, wgpu 30. Sources at the end; nothing here is
+measured by me unless it says so.
+
+## The landscape
+
+### Denoisers for a traced frame (temporal, per frame)
+
+| Denoiser | Kind | macOS | Windows | Linux | GPUs | Licence | For raea |
+|---|---|---|---|---|---|---|---|
+| MetalFX denoised scaler (`MTLFXTemporalDenoisedScaler`) | neural, denoise + upscale in one | yes (macOS 26) | - | - | Apple silicon | Apple SDK | **shipped** (RT4, metalfx.rs) |
+| DLSS Ray Reconstruction 4.5 | neural, denoise + upscale in one | - | yes | yes | NVIDIA RTX, driver 580+ | NVIDIA RTX SDK licence (object-code redistribution inside an app) | Bevy's own `dlss` feature (`dlss_wgpu`, Vulkan); Bevy 0.20 already updated it to RR 4.5 for Solari. Not built in raea yet |
+| AMD FSR Ray Regeneration 1.2.1 | neural, denoise only | - | yes (Windows 11) | - | Radeon RX 9000 only | signed DX12 DLL, binary-only, no reverse engineering | **no**: DX12-only, Solari traces through wgpu's Vulkan/Metal |
+| NVIDIA NRD 4.18 (ReBLUR, ReLAX, SIGMA) | hand-tuned spatio-temporal | via NRI's new Metal 4 backend | yes | yes | any D3D12/Vulkan GPU | NVIDIA RTX SDK licence: object code in an app, no port of its source | possible later; needs diffuse/specular split and hit distances out of Solari, and a native (non-wgpu) integration through NRI |
+| SVGF / A-SVGF / ReBLUR-style, written from the papers | hand-tuned temporal | yes | yes | yes | anything wgpu runs | ours | **the portable tier**: WGSL, every OS |
+| pmndrs/denoiser `denoiser/realtime` | clean-room WGSL temporal (diffuse, specular, shadow, AO) | yes | yes | yes | WebGPU; validated on Apple GPUs only | MIT | a ready start for the portable tier, or its reference |
+
+### Single-image denoisers (stills, holds, bakes)
+
+| Denoiser | macOS | Windows | Linux | Licence | For raea |
+|---|---|---|---|---|---|
+| Intel Open Image Denoise 2.x | CPU + Metal (Apple silicon) | CPU + CUDA/HIP/SYCL | CPU + CUDA/HIP/SYCL | Apache-2.0 (code and weights) | **stills, held frames, light bakes** (raea light bake, BK). Single-frame, so it flickers on moving video; Intel's temporal OIDN 3 has slipped to the second half of 2026 |
+| OIDN weights in WGSL/ONNX (pmndrs/denoiser) | yes | yes | yes | MIT + Apache-2.0 weights | the same networks without Intel's runtime; ONNX fits raea's ort port rule |
+| NVIDIA OptiX denoiser | - | yes | yes | proprietary | no: NVIDIA-only, and OIDN covers it everywhere |
+
+### Upscalers (temporal, from a smaller frame)
+
+| Upscaler | macOS | Windows | Linux | GPUs | Licence | For raea |
+|---|---|---|---|---|---|---|
+| MetalFX temporal scaler | yes | - | - | Apple | Apple SDK | shipped (upscale.rs; `scale` on SolariLighting) |
+| DLSS Super Resolution | - | yes | yes | NVIDIA RTX | NVIDIA RTX SDK | with RR, the same Bevy feature |
+| AMD FSR Upscaling 4.1.2 (ML) | - | yes | yes (Vulkan now at parity, SDK 2.4) | RDNA 2/3/4 + Ryzen AI | binary SDK | optional AMD tier |
+| AMD FSR 3.1.6 (analytic) | portable source | yes | yes | any | FidelityFX SDK source (pmndrs ships an FSR3 port too) | **the portable upscaler** |
+| Intel XeSS 3 SR | - | yes | yes (Vulkan) | Intel best, cross-vendor SM 6.4 | Intel SDK (licence not checked) | optional; FSR 3.1 covers the same ground openly |
+| Bevy TAA / SMAA / CAS | yes | yes | yes | any | MIT/Apache | anti-aliasing at full size, not upscaling |
+
+## What the research says, in one line each
+
+- Every vendor has converged on **one neural pass that denoises and upscales together** (MetalFX, DLSS-RR); AMD's is
+ the exception (separate denoise, then FSR) and the only one locked to DX12.
+- All of them read **the same guides**: noisy colour, diffuse albedo, specular albedo (with Fresnel), world-space
+ signed normals, linear roughness, depth, motion; optional specular hit distance, a strength or reactive mask, and a
+ transparency overlay. raea already writes most of these (metalfx_guides.wgsl, Solari's PSR guides).
+- Quality comes mostly from **the input**: Apple, NVIDIA and AMD all say the same: cut noise at the source (NEE,
+ importance sampling, ReSTIR), avoid correlated random numbers, keep the guides noise-free, put the reflected
+ surface's albedo/normal/roughness in a mirror's pixel (primary surface replacement), blend glass's guides by Fresnel,
+ and get motion vectors right. NVIDIA warns that ReSTIR's reuse breaks the independence a denoiser assumes; Bevy
+ Solari already permutes its temporal reuse (restir.wesl `permute_pixel`).
+- **No neural temporal denoiser is open and cross-vendor.** OIDN is the only open neural one, and it is single-frame
+ until OIDN 3. So every engine that runs everywhere carries a hand-tuned temporal fallback (AdaEngine's design does
+ exactly this: RR where it can, SVGF in WGSL everywhere else).
+
+## Proposed standard for raea
+
+1. **One guide contract, backend-neutral** (`DenoiseInputs`): colour, diffuse albedo, specular albedo, normal (signed,
+ world), roughness, depth (Solari's PSR depth where a mirror replaces), motion, emission split, strength mask; plus
+ two raea doesn't write yet:
+ - **specular hit distance** (MetalFX, DLSS-RR and NRD all take it; it keeps glossy reflections sharp and stable:
+ the waxed mall floor);
+ - **diffuse and specular radiance kept apart** (demodulated), which the portable tier and NRD need. Solari gives one
+ colour today, so this is the main engine change.
+ One debug view per input (Apple's first advice), so a bad guide is seen before the denoiser is blamed.
+2. **One switch with a ladder**: `<SolariLighting denoiser="auto" | "metalfx" | "dlss" | "portable" | "off">`, `auto`
+ picking, in order: MetalFX (Apple silicon, macOS 26), DLSS-RR (NVIDIA RTX, Windows/Linux), portable (everything
+ else). A backend that can't run falls to the next and says so once, with the reason, in the render's trace (the
+ way MetalFX's absence is reported now).
+3. **Upscaling follows the denoiser**: the joint ones (MetalFX, DLSS-RR) upscale themselves through `scale`; the
+ portable tier upscales with FSR 3.1 (open, any GPU); DLSS SR, MetalFX's temporal scaler and FSR 4.1 serve raster
+ views on their own hardware.
+4. **The portable tier is ours, in WGSL**, written from SVGF/A-SVGF and the ReBLUR chapter (not NRD's source), with
+ pmndrs/denoiser's MIT `denoiser/realtime` as the starting point or the reference to beat.
+5. **Stills and bakes use OIDN** (Apache-2.0, every OS, GPU where there is one): posters, thumbnails, a held frame
+ rendered converged, and raea light bake's lightmaps. When OIDN 3's temporal model ships, it becomes the candidate
+ to replace the portable tier.
+6. **A film's finals have their own profile**, because a render isn't real time: more samples, the shutter (raea's
+ `<MotionBlur>`, already checked against 32 sub-frames in raytracing.feature) and, where the time is there, several
+ sub-frames averaged per frame. Motion blur both makes a camera real and hides the frames a denoiser has no history
+ for (doorways, whip pans).
+
+## Shipping DLSS: what NVIDIA's licence asks (read 2026-11-24, NVIDIA/DLSS LICENSE.txt, v. March 14, 2024 + RTX supplement)
+
+raea is FSL-1.1-ALv2. NVIDIA's SDK can't be made subject to an open-source licence (4e), so it stays out of raea's
+source: the build fetches the SDK from NVIDIA's own GitHub, pinned by hash, behind the `dlss` feature, and nothing of it
+is committed. Whether it then ships linked into the binary or as an optional piece the app downloads on NVIDIA machines,
+raea is distributing it, which the licence allows (object code inside an application with material functionality of
+its own, 1c and 2a). Downloading on demand keeps it off Macs and AMD machines; it doesn't change the obligations, which
+attach to any application that "incorporates, or is based on" the SDK:
+- **notify NVIDIA before commercial release** (supplement 4: developer.nvidia.com/sw-notification);
+- **NVIDIA's marks** on the splash screen and in the About box (supplement 7.1b), and no implied endorsement (4c);
+- **terms at least as protective** as NVIDIA's passed on to users for that component (2c): a section in raea's EULA;
+- **NVIDIA GPUs only** (supplement 1), which the backend ladder already is;
+- **cloud: only on hosts running NVIDIA vGPU software**; any other cloud service use is outside the licence
+ (supplement 3). raea cloud's rented GPUs (Modal, sprites) would need vGPU hosts or NVIDIA's written agreement;
+- NVIDIA may update it over the air and may disable a broken integration as a last resort (supplement 6).
+Questions about terms go to [email protected] (19). This is a reading of the text, not legal advice.
+
+## The check every backend has to pass (parity, as every model on every OS does)
+
+A denoise bench beside lightbench, same scenes on every backend, against a converged reference (`<Pathtracer>` held
+long, or Cycles through tools/cycles-port):
+- **error**: FLIP and RMSE against the reference, per frame;
+- **bias**: mean light against the reference (catches MetalFX's constant floor, which camcorder gain made a glow in
+ MALL RAT);
+- **flicker**: the difference between a frame and the last one warped by motion, on still surfaces;
+- **blotches**: low-frequency residual energy (tools/noise.sh in anchor-tenant measures this today);
+- **lag**: frames to settle after a disocclusion and after a light changes (the 6-frame emitter trail found under
+ MetalFX);
+- **cost**: ms a frame at 1080p.
+Scenes: a dark room under high gain, a glossy floor, walking through a doorway, a whip pan, neon and emissive signs,
+foliage, fog, a mirror, glass. The mall's takes already hold most of them.
+
+## What MALL RAT still shows (2026-11-24)
+
+- Finals at full size: no blotches; the grain left is the camcorder's own gain, by design.
+- No shutter: every frame is sharp, which reads as CG and leaves disocclusions (doorways, t8's whip pan) visible for
+ a few frames. `<MotionBlur>` is the cheap fix.
+- Glossy floors without a hit distance guide; storefront glass left out because blended materials draw after the
+ denoiser (NOTES.md). Glass needs Solari to trace it and the denoiser to get Fresnel-blended guides; the largest
+ piece of work here.
+
+## Order of work (proposed)
+
+1. `<MotionBlur>` in camcorder films' finals; then sub-frame averaging as a finals option.
+2. The guide contract written down as code (one struct, one debug view per input); add specular hit distance.
+3. The denoise bench, run on MetalFX first, so every later backend has numbers to meet.
+4. DLSS-RR through Bevy's `dlss` feature on the person's own NVIDIA machine (Windows, Linux), checked against MetalFX on
+ the bench. Not on raea cloud: see "Shipping DLSS" (the licence leaves cloud use out unless the host runs NVIDIA vGPU).
+5. The portable WGSL tier, from the papers / pmndrs, on the bench against both.
+6. OIDN for stills and light bake.
+7. Glass: Solari traces it, Fresnel-blended guides.
+Each becomes scenarios in docs/raytracing.feature when it's taken on.
+
+## Sources
+
+- Apple WWDC25 "Go further with Metal 4 games" (denoised scaler inputs and pitfalls); WWDC26 359 "Build real-time neural
+ rendering pipelines with Metal" (inputs, strength mask, transparency overlay, PSR, motion vectors);
+ MTLFXTemporalDenoisedScalerDescriptor docs (specular hit distance, reactive mask).
+- NVIDIA DLSS-RR Integration Guide (2026-08; Windows and Linux, driver 580+, ReSTIR permutation advice); NVIDIA-RTX/NRD
+ README v4.18 and LICENSE; NVIDIA-RTX/NRI README (Metal 4 and WebGPU backends).
+- AMD GPUOpen: FSR SDK 2.4 (2026-10-28), FSR Ray Regeneration 1.2.1 manual (RX 9000, DX12, Windows 11).
+- Intel: Open Image Denoise site (v2.2 Metal device), XeSS 3 developer page.
+- Bevy 0.17 and 0.20 release notes (Solari on macOS without a denoiser; dlss_wgpu at RR 4.5); JMS55's Solari write-up.
+- pmndrs/denoiser docs (realtime denoisers, temporal spec, nppd-fssa research note: licences and OIDN 3's slip).
+- AdaEngine design "path-tracing-denoising" (RR where available, portable SVGF elsewhere).
+- raea: docs/raytracing.feature (RT4, motion blur scenario), docs/render-thirdparty.md, engine/render/raytrace/src/metalfx.rs.
diff --git a/docs/denoise.feature b/docs/denoise.feature
new file mode 100644
index 00000000..cafa9816
--- /dev/null
+++ b/docs/denoise.feature
@@ -0,0 +1,178 @@
+@spec
+Feature: raea Denoise: one denoiser and upscaler raea owns, on every OS and GPU
+ Shane, 2026-11-24: "go with whatever we can standardize even if theres an open source version we build ourselves".
+ The research is docs/denoise-upscale-research.md. No vendor denoiser runs everywhere: MetalFX is Apple's, DLSS-RR is
+ NVIDIA's (not allowed in a cloud service off NVIDIA vGPU), FSR Ray Regeneration is DX12 on RDNA 4 only, and NRD's
+ source can't be ported. So the standard is raea's own: a temporal denoiser and upscaler in WGSL, run through wgpu on
+ Metal, Vulkan and DX12, on the Mac, Windows, Linux and raea cloud (GPU and lavapipe) alike, under raea's own licence.
+ MetalFX and DLSS-RR stay as optional backends, chosen by name, and held to the same bench.
+
+ Written from the published work, never from NRD's code: SVGF (Schied et al. 2017), A-SVGF (Schied et al. 2018),
+ ReBLUR's recurrent blur (Zhdan, Ray Tracing Gems II, 2021) for the hit-distance and specular ideas, and FSR 2/3's
+ MIT source for the temporal upscaler. Stills use OIDN's networks (Apache-2.0 weights) on ort.
+
+ Every number this feature sets comes from DN0's bench, measured; none is guessed here.
+
+ One denoiser for both renderers. docs/realism.feature plans raea Light (LT13 retires Solari) with "a denoiser slot"
+ on Windows and Linux (LT12), OIDN on the film tier (LT19), and docs/bake.feature cleans lightmaps (BK4). This feature
+ is that slot and that OIDN: DN1's inputs are written by whichever renderer draws the view (Solari today, raea Light
+ later), DN10's OIDN is the one LT19 and BK4 call, and the temporal parts reuse raea's steady filter
+ (raea-sys-post steady.rs: its jitter, its YCoCg clip) rather than a second copy.
+
+ Background:
+ Given Solari's real-time lighting from raea's vendored bevy_solari (vendor/bevy_solari), wgpu 30, Bevy 0.20
+ And raea-render-raytrace, at about 1,900 of its 2,000 lines, so the denoiser is a crate of its own
+
+ Rule: Measured before it's built
+
+ Scenario: DN0. A denoise bench that every backend passes, against a converged truth
+ Given the bench scenes: a dark room under 18 dB of camcorder gain, a waxed floor's reflections, walking through
+ a doorway, a whip pan, neon and emissive signs, foliage, fog, a mirror, a light switched off (MALL RAT's takes
+ hold most of them; small cases of each under bench/denoise/cases)
+ And each scene's truth: Solari's `<Pathtracer>` held still per frame until it converges, or Cycles through
+ tools/cycles-port where the path tracer differs
+ When `raea bench denoise [--backend raea|metalfx|dlss|off] [CASE...]` renders every case
+ Then it reports, per case and backend: FLIP and RMSE against the truth; bias (mean light against the truth);
+ flicker (a frame against the last warped by motion, on surfaces that hold still); blotches (residual energy
+ below 1/16 of the frame's width); lag (frames to settle after a disocclusion and after a light goes out);
+ and ms a frame at 1080p on the GPU it ran on
+ And MetalFX's numbers on the Mac are the first bar: DN8 makes raea's the default when it meets them
+ And the plan:
+ | crate | file | lines | job |
+ | raea-denoise-bench | engine/render/denoise/bench/src/lib.rs | 200 | the cases, the truth, the runs |
+ | raea-denoise-bench | engine/render/denoise/bench/src/metrics.rs | 300 | FLIP, RMSE, bias, flicker, blotch, lag |
+ | raea-denoise-bench | engine/render/denoise/bench/src/report.rs | 150 | the table and its JSON |
+
+ Rule: One set of inputs
+
+ @needs:DN0
+ Scenario: DN1. One guide contract every backend reads, each input visible on its own
+ Given a view under SolariLighting
+ Then one pass writes DenoiseInputs: diffuse albedo, specular albedo (with Fresnel), world-space signed normal,
+ linear roughness, depth (the reflection's under primary surface replacement), motion (a mirror's own), the
+ emission split, a strength mask, a mesh id for disocclusion; the same textures MetalFX reads today
+ (metalfx_guides.wgsl moves here, unchanged in what it writes)
+ And `RAEA_DENOISE_VIEW=albedo|specular|normal|roughness|depth|motion|hitdist|diffuse|specular-light|history`
+ draws that input instead of the frame, so a bad input is seen before the denoiser is blamed
+ And the plan:
+ | crate | file | lines | job |
+ | raea-denoise | engine/render/denoise/src/lib.rs | 150 | the plugin, the switch, the order |
+ | raea-denoise | engine/render/denoise/src/inputs.rs | 250 | DenoiseInputs: textures, their sizes |
+ | raea-denoise | engine/render/denoise/src/inputs.wgsl | 200 | the guide pass |
+ | raea-denoise | engine/render/denoise/src/view.rs | 120 | RAEA_DENOISE_VIEW |
+
+ @needs:DN1
+ Scenario: DN2. Solari hands over its light in two parts, with how far each travelled
+ Given the vendored bevy_solari's resolve
+ Then diffuse and specular light are written apart, each divided by its albedo (demodulated), with the diffuse and
+ specular hit distance of each pixel's first bounce
+ And the composite (light times albedo, plus emission) is unchanged when nothing denoises it: off matches today's
+ frame to the bit
+ And the plan:
+ | crate | file | lines | job |
+ | bevy_solari | vendor/bevy_solari/src/realtime/split.wesl | 150 | the split and the distances |
+ | bevy_solari | vendor/bevy_solari/src/realtime/split.rs | 120 | its textures and bindings |
+
+ Rule: The denoiser
+
+ @needs:DN2
+ Scenario: DN3. Light is gathered over frames where the surface is the same one
+ Given each part's light from DN2 and its history
+ Then each pixel's history is found through motion (a bicubic read), kept where depth, normal and mesh id agree
+ and dropped where they don't (a disocclusion), and blended by how many frames it holds (up to a cap from DN0)
+ And a camera cut (SolariLighting reset) drops every pixel's history
+ And the plan:
+ | crate | file | lines | job |
+ | raea-denoise | engine/render/denoise/src/temporal.rs | 200 | history textures, the cap, reset |
+ | raea-denoise | engine/render/denoise/src/temporal.wgsl | 300 | reprojection and the tests |
+
+ @needs:DN3
+ Scenario: DN4. A new or changed surface is smoothed in space, by how sure each pixel is
+ Given each pixel's light, its variance over its history and its history's length
+ Then an edge-aware à-trous filter (normal, depth, luminance against variance) runs 5 times on diffuse light, wide
+ where a pixel's history is short and narrow where it's long (SVGF)
+ And a pixel with a short history borrows its variance from its neighbours
+ And the plan:
+ | crate | file | lines | job |
+ | raea-denoise | engine/render/denoise/src/spatial.rs | 180 | passes and ping-pong textures |
+ | raea-denoise | engine/render/denoise/src/spatial.wgsl | 260 | variance, à-trous |
+
+ @needs:DN4
+ Scenario: DN5. Reflections stay sharp and follow what they show
+ Given the specular light, its hit distance and the surface's roughness
+ Then a glossy pixel's history is found where its reflection was (the virtual point at the hit distance), and its
+ filter's radius follows its roughness and hit distance (a near reflection on a smooth floor is barely blurred)
+ And DN0's waxed floor scores on FLIP and flicker against the truth and MetalFX
+ And the plan:
+ | crate | file | lines | job |
+ | raea-denoise | engine/render/denoise/src/specular.wgsl | 300 | virtual reprojection, radius |
+
+ @needs:DN4
+ Scenario: DN6. A light that changes is followed at once; a rare bright sample doesn't flash
+ Given a light switched off, a door opened, a sign turned on
+ Then a pixel whose light has changed more than its history explains (A-SVGF's gradient, sampled sparsely) drops
+ its history in proportion, so DN0's lag after a light goes out is within MetalFX's
+ And a sample far above its neighbourhood is clamped before it enters the history
+ And the plan:
+ | crate | file | lines | job |
+ | raea-denoise | engine/render/denoise/src/antilag.wgsl | 220 | gradients, clamp |
+
+ @needs:DN5,DN6
+ Scenario: DN7. The light is put back on its surfaces and brought to the view's size
+ Given the denoised diffuse and specular light
+ Then each is multiplied by its albedo and the emission added (DN2's composite)
+ And a view drawn below its size (`scale`) is brought up, and a full-size one anti-aliased, by a temporal
+ upscaler of raea's from FSR 2/3's MIT source, with the projection's jitter
+ And the plan:
+ | crate | file | lines | job |
+ | raea-denoise | engine/render/denoise/src/compose.wgsl | 120 | remodulation |
+ | raea-denoise | engine/render/denoise/src/upscale.rs | 200 | the upscaler's passes |
+ | raea-denoise | engine/render/denoise/src/upscale.wgsl | 400 | FSR 2/3's accumulate and sharpen |
+
+ Rule: One switch, every platform
+
+ @needs:DN7
+ Scenario: DN8. `denoiser` picks the backend, raea's by default once it meets the bar
+ Given `<SolariLighting denoiser="raea" | "metalfx" | "dlss" | "off">` (RAEA_DENOISER the same)
+ Then "raea" runs everywhere wgpu runs
+ And "metalfx" (Mac, macOS 26) and "dlss" (NVIDIA RTX, the person's own machine, the `dlss` build feature with
+ NVIDIA's SDK fetched at build time, never committed) run where they can, and elsewhere fall back to "raea"
+ and say so once with the reason
+ And the default is "raea" once DN0 shows it meeting MetalFX's numbers on the bench; until then the Mac keeps
+ "metalfx" by default
+ And the render's trace records which backend drew each view and why
+
+ @needs:DN8
+ Scenario: DN9. raea cloud's renders are denoised, and match the Mac's
+ Given a Solari render split across raea cloud's GPUs (cloud-render.feature CR4) and one on lavapipe
+ Then each frame is denoised by "raea"
+ And DN0's cases rendered on Modal's NVIDIA GPUs and on the Mac differ by less than DN0's flicker bar
+
+ Rule: Stills, bakes and finals
+
+ @needs:DN0
+ Scenario: DN10. A still, a held frame or a lightmap is denoised by OIDN's networks on ort
+ Given OIDN 2's weights (Apache-2.0, fetched to raea's models folder) as ONNX, on ort through systems/ml (Core ML
+ on the Mac, CUDA or DirectML or CPU elsewhere)
+ When `raea render --at` writes a still with `--denoise`, or raea light bake writes a lightmap
+ Then the colour, albedo and normal go through OIDN's network, tiled above 1080p
+ And the Mac's output and Linux's agree within DN0's RMSE bar (every model, every OS)
+
+ @needs:DN8
+ Scenario: DN11. A film's finals profile: more samples, a shutter, sub-frames
+ Given `raea render --final` on a 3D composition
+ Then Solari runs at the finals' samples, raea's MotionBlur shutter is on (its angle from the camera's, 0.5 by
+ default), and with `--subframes N` each frame is the mean of N sub-frames across the shutter
+ And DN0 reports what each costs and buys on the doorway and whip-pan cases
+
+ Rule: Everyone can see the options
+
+ Scenario: DN12. What raea has for light, denoising and upscaling is written where agents look
+ Given a person who asks an agent about DLSS, a denoiser, lighting or ray tracing (Shane, 11-24: "so its clear
+ what the options are and i dont have to keep inquiring")
+ Then sdk/guides/craft/bevy/solari.md (`raea guide bevy/solari`) has a section "Denoisers, upscalers and neural
+ passes": each option, its state, where it runs, what it can't do and what its licence allows, from
+ docs/denoise-upscale-research.md, with `raea neural mlxdlss` marked as a re-shading test that never ships
+ And raea-skills' copy carries it (tools/skills.sh gen, a raea-skills PR, the pin bumped in the same landing)
+ And each DN that lands updates its row in the same commit
+