Mathf.PerlinNoise always returns 0.4652731

This is Unity 5.0.0f4, OSX 10.9.5

No matter what I input to PerlinNoise, the result is always exactly 0.4652731.

Debug.Log (Mathf.PerlinNoise(0f, 0f));
Debug.Log (Mathf.PerlinNoise(1337f, 42f));
Debug.Log (Mathf.PerlinNoise(100f, 3.1415f));


Reopening this because my question was misunderstood and closed. Added code.

My understanding is that Perlin noise always has the same value at integer coordinates. Try values that aren’t on an integer boundary.

Here’s a discussion in the forums:


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:

basically uses the x and y arguments in the range 0…1.