Fill a 2D 8-bit buffer with noise, using inoise8()
- Parameters
-
pData | the array of data to fill with noise values |
width | the width of the 2D buffer |
height | the height of the 2D buffer |
octaves | the number of octaves to use for noise. More octaves = more noise. |
x | x-axis coordinate on noise map (1D) |
scalex | the scale (distance) between x points when filling in noise |
y | y-axis coordinate on noise map (2D) |
scaley | the scale (distance) between y points when filling in noise |
time | the time position for the noise field |
References octaves, x, and y.