Using perlin noise to generate random terrain

Hi,

I am trying to use perlin noise to randomly alter the height of a terrain at runtime in c#. I found a couple of examples where people have used it to adjust the heights of voxels but I want to adjust a unity terrain gameobject (rather than using a height map). However, I cant get my head around how to use the perlin noise function. Can anyone point me towards a good tutorial?

Thanks

1 Answer

1

See this Wiki page:

http://wiki.unity3d.com/index.php/TerrainPerlinNoise

Plus I know there have been a few other answers on UA with sample source.