Spectral rendering, part 2: Real-time rendering
momentsingraphics.de·8h·
Flag this post

Published 2025-11-13

Based on the insights from part 1, we have the means to define illuminant and reflectance spectra for our scene data. Then the color of a pixel arises from an integral over a product of spectra. The main goal of this blog post is to find efficient ways to evaluate such integrals using Monte Carlo integration and importance sampling. Additionally, we discuss how to define a BRDF based on known reflectance spectra, how to implement that and look at results. I have extended my educational path tracer to support both [spectral and RGB rendering](https://github.com/MomentsInGr…

Similar Posts

Loading similar posts...