Open-source RapidRAW adds 2.5D relighting via depth and normal maps, zero identity loss

zBlackVision11 · reddit · 2026-10-19

Developer Timon implemented 2.5D relighting using depth maps and surface normals in his open-source photo editor RapidRAW (Rust/Tauri/WGPU), as an alternative to diffusion-based relighting.

The problem: Stable Diffusion relighting goes through VAE encoding and img2img, causing identity loss, changed details, or compression artifacts on high-res images.

The approach: no generative model — depth and normals are estimated locally, then lighting is computed directly on original pixels:

Trade-off: won't hallucinate new bounced reflections or change complex backgrounds like diffusion. Free, local, fully open source.

Original post →

More from coding & agent

coding & agent channel →