WIP: Spectral sampling
Subsample within a bin. This breaks discrete path generation with wavelength depend paths (e.g. dielectrics). The parameters are interpolated between bounds.
This is in an unfinished stage.
Reference (old code base with 1 wavelength per path, sampling at 1nm interval)
TODO:
- Add the subsampling for monochromatic renderer
- Upload N+1 wavelengths to the assets to a proper interpolation for each bin
Edited by Alban Fichet