protected virtual void SplatRadiance(ref IColorType radiance, int x, int y, float weight = 1.0f) { //int offset = x + y * width; var rad = (RgbSpectrumInfo)radiance.ToXyz(); this.AddPixel(x, y, rad, weight); }
protected virtual void SplatRadiance(ref IColorType radiance, int x, int y, float weight = 1.0f) { //int offset = x + y * width; var rad = (RgbSpectrumInfo)radiance.ToXyz(); this.AddPixel(x, y, rad, weight); }