Exemple #1
0
 public NoiseLayer(int seed, NoiseStackSettings.NoiseLayer noiseLayerSettings)
 {
     noise = new WarpedNoise(seed, noiseLayerSettings.noiseSettings, noiseLayerSettings.noiseWarpSettings);
     mask  = noiseLayerSettings.maskSettings != null
         ? new WarpedNoise(seed * 107, noiseLayerSettings.maskSettings, noiseLayerSettings.maskWarpSettings)
         : (WarpedNoise?)null;
 }
Exemple #2
0
 public NoiseLayer(int seed, NoiseStackSettings.NoiseSettings layerSettings)
 {
     noise = new WarpedNoise(seed, layerSettings);
     mask  = null;
 }