Try:
Debug.Log (Mathf.PerlinNoise(0f, 0f));
Debug.Log (Mathf.PerlinNoise(0.1f, 0.1f));
Debug.Log (Mathf.PerlinNoise(0.5f, 0.5f));
The example at:
http://docs.unity3d.com/ScriptReference/Mathf.PerlinNoise.html
basically uses the x and y arguments in the range 0..1.
↧