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);
        }
예제 #2
0
 public BasicInfiniteLight(IEnvironmentMapSampler envMap, LightMaterial mt) : base(mt)
 {
     Sampler = envMap;
 }
예제 #3
0
 public BasicInfiniteLight(RgbSpectrumTexture tx, RgbSpectrumTexture tx_l, LightMaterial mt) : base(mt)
 {
     Sampler = new LatLongMap(tx, tx_l);
 }