SPECTRAL CODESRESEARCH PROJECT
SPECTRAL RENDERING THROUGH RGB PIPELINES

Spectral Rendering Without a Spectral Renderer

Learned Spectral Codes

Jiaqi Yu1·Dar'ya Guarnera1·Giuseppe Claudio Guarnera1,2

1 University of York, United Kingdom   2 Lumirithmic Ltd, United Kingdom

Carry spectral information through an ordinary RGB pipeline.
Six latent channels. Two RGB passes. No renderer modification. Narrowband lights included.

Explore the results ↓
01 / WORK A LITTLE COLOR MAGIC

See the difference.
Move the divider.

Compare the final paper teaser and a video-teaser frame across the same three rendering routes.

SCENE 1The spots on the rabbit's chest represent Monte Carlo noise rather than a persistent color deviation.
Compared with our codec · k = 6
Final paper teaser: conventional RGB baselineFinal paper teaser: our six-channel codec
↔
Our codecRGB baseline

SCENE 2
Compared with our codec · k = 6
Video teaser frame: conventional RGB baselineVideo teaser frame: our six-channel codec
↔
Our codecRGB baseline

RECONSTRUCTION

k = 6

Two unmodified RGB passes reconstruct a spectral image across the scene's glass, conductors, scattering materials and participating-medium fog.

RENDERING COST

+5%

Median end-to-end wall-clock difference from Mitsuba 3 hero-wavelength sampling on the paper's Cornell-box sweep; 14 of 15 configurations lie within ±10%.

Timing is scene-dependent: the final paper reports larger gaps on scenes dominated by geometry traversal.

02 / THE IDEA

Keep spectral information.
Keep the RGB renderer.

Three RGB channels describe a colour, but not the spectrum behind it. When light interacts with glass, metals or scattering media, collapsing that spectrum too early changes the final appearance.

We encode visible-range spectra as compact latent vectors that a conventional RGB renderer can process. Two passes carry six latent channels through the existing pipeline; a linear decoder then reconstructs the spectral result.

One codec covers reflectance, illumination, coloured glass, conductors and participating media. Lightweight upsamplers also provide a route for legacy RGB assets.

6channels

Compact spectral code

2passes

Standard RGB rendering

5engines

Cross-renderer evaluation — and more

03 / HOW IT WORKS

Change the representation.
Preserve the arithmetic.

Select a stage to follow the spectral signal through an RGB pipeline.

z = Wenc s

Encode what light transport needs

A non-negative linear encoder compresses each spectrum to six channels. Linearity preserves scaling and addition exactly; training makes channel-wise multiplication approximate the corresponding spectral operation.

WHY k = 6?

Three channels face a trade-off between colour reconstruction and multiplication. Nine channels require another render pass with limited quality benefit in the paper's evaluation. Six channels are the practical operating point.

04 / MATERIAL TESTS

One codec.
Different material physics.

Each card compares the codec with a conventional RGB render or the spectral reference. Drag its divider to inspect the material response.

Material images and masked ΔE₂₀₀₀ measurements come from the final paper's material-class evaluation. The values describe these specific scenes and sampling conditions.

05 / NARROWBAND ILLUMINATION

Not only broadband.
True narrowband lights.

Two lamps from the 52-lamp sweep illuminate the same Cornell box. Both have Gaussian spectra with a full width at half maximum of 40 nm.

All three renders share one exposure per lamp. Each map shows pixelwise ΔE₂₀₀₀ against the spectral reference. The colour scale saturates at 10.

06 / CROSS-RENDERER EVALUATION

Four renderers.
The same two-pass interface.

Compare each engine's codec render with its RGB baseline and reconstructed spectral reference. You can also select the full route that starts from RGB assets.

The final paper constructs a 16-pass spectral reference inside each production pipeline using uplifted material spectra and known light spectra. “Codec” applies the six-channel codec to those spectral assets; “Full RGB-asset route” adds the paper's RGB upsamplers. It is a constructed reference, not a native spectral mode of these engines. The selected Maya scene uses structured lighting; the paper also reports a nearly flat broadband case where RGB is most accurate.

Where it applies

Spectral effects expressible through channel-wise light-transport arithmetic, including reflectance, illumination, coloured glass, conductors, subsurface scattering and participating media.

READ THE RESEARCH

Go deeper.
Read the paper.

Spectral Rendering Without a Spectral Renderer:
Learned Spectral Codes for RGB Pipelines

CITE THIS WORK

BibTeX.
Preprint and publication.

Use the TOG entry for the published article. The arXiv entry is included while the preprint remains available.

ACM Transactions on GraphicsVolume 45 · Issue 6 · Article 257 · 2026
@article{yu2026spectral_tog,
  author    = {Yu, Jiaqi and Guarnera, Dar'ya and
               Guarnera, Giuseppe Claudio},
  title     = {Spectral Rendering Without a Spectral Renderer:
               Learned Spectral Codes for RGB Pipelines},
  journal   = {ACM Transactions on Graphics},
  volume    = {45},
  number    = {6},
  articleno = {257},
  year      = {2026}
}
arXiv preprintarXiv:2602.18741 [cs.GR] · 2026
@article{yu2026spectral_arxiv,
  author  = {Yu, Jiaqi and Guarnera, Dar'ya and
             Guarnera, Giuseppe Claudio},
  title   = {Spectral Rendering Without a Spectral Renderer:
             Learned Spectral Codes for RGB Pipelines},
  journal = {arXiv preprint arXiv:2602.18741},
  year    = {2026}
}