public ImportanceSampledInfiniteLight(RgbSpectrumTexture tx, RgbSpectrumTexture tx_l) { Sampler = new LatLongMap(tx, tx_l); shiftU = 0f; shiftV = 0f; gain = GlobalConfiguration.Instance.SpectralRendering ? RgbSpectrum.UnitSpectrum() : new RgbSpectrum(0.1f); }
public BasicInfiniteLight(IEnvironmentMapSampler envMap, LightMaterial mt) : base(mt) { Sampler = envMap; }
public BasicInfiniteLight(RgbSpectrumTexture tx, RgbSpectrumTexture tx_l, LightMaterial mt) : base(mt) { Sampler = new LatLongMap(tx, tx_l); }