Package-level declarations
Functions
Link copied to clipboard
fun mixSpectral(color1: ColorRGBa, color2: ColorRGBa, t: Double, k1: Double = 0.0, k2: Double = 0.0): ColorRGBa
Blends two colors spectrally by interpolating their reflectance spectra and returns the resulting color. This method uses spectral upsampling, Saunderson correction, and concentration factors to compute the resulting color in the RGB color space.