Elektrine lite

← Feed

@Dimas@social.edu.nl

2025-11-25 12:24 UTC

@MomentsInGraphics@mastodon.gamedev.place Would it be somehow possible to directly work with the fourier sRGB colors to not have to do stochastic sampling of the wavelengths? I'd imagine that would work less well with spiky spectra (maybe do a special case for those?), but could work for smooth spectra.

Replies (1)

  • @Dimas@social.edu.nl Short answer: No. The product of multiple spectra can simply be a more complicated function than one on its own. Either you accept strong approximation errors or you use so many coefficients that you are not gaining anything by moving away from Monte Carlo integration. That is already true for products of reflectance spectra. And emission spectra need more coefficients to begin with, see Fig. 9 in my SIGGRAPH 2019 paper: https://momentsingraphics.de/Siggraph2019.html

    Open ##2494189