Ejemplo n.º 1
0
        private ILayer getNoise(ILayer input)
        {
            var rand = new Rand(123456);

            var v = new PerlinNoise(new NoiseParameters()
            {
                FromDepth     = 1,
                ToDepth       = 7,
                Amplitude     = .8f,
                BaseAmplitude = 1,
                Lacunarity    = 2.5f,
                Random        = rand
            }
                                    );


            return(v.Do(input.Resolution));
        }