Hi all, I’m working on implementing Perlin Noise from the Infinite_Map example and I’m not getting noise that I think is random enough… for example I’m seeing repeating patterns which I thought wouldn’t happen. I haven’t changed any code really except for setting some logic as to what range a tile should be placed. Attached is my code for the perlin noise script and my script that makes my map. As you can see from my attached screenshot there’s lots of ‘mole hills’ of the same size and kind of in a straight line. Any suggestions on how to make this not look like this would be amazing.
My apologies I wasn’t sure how to post formatted code here.
perlin.lua (3.0 KB)
terrainGeneration.script (2.5 KB)