Search code examples
unity-game-enginerandomperlin-noise

Unity: Is Mathf.PerlinNoise consistent across all implementations / devices / platforms?


If I create a game in Unity that is played on Windows / Mac / Android etc. is there a guarantee that,

For each pair of x and y, Mathf.PerlinNoise(x,y) is same for every device running the application around the world?


Solution

  • Yes.

    See Mathf.PerlinNoise

    Any point in the plane can be sampled by passing the appropriate X and Y coordinates. The same coordinates will always return the same sample value [...]