Perlin Noise world generator, instantiating smaller tiles together.

I’m referring to this YouTube video of Arend Peter Teaches: Coding Perlin Noise in Unity

In the tutorial, he uses 100x100 tile to generate the world, but I would like to use a real Terraria tile which is 16x16, if I just fit in the 16x16 .png tiles to the prefab, the world generates the prefabs with lots of gaps in between.

I’m attaching the 2 scripts used in the video.

What should I be looking to change within the codes?

And a brief explanation as to why would be very much appreciated!

Thank you in advance.

3123772–236528–Generator.cs (1.05 KB)
3123772–236529–PerlinNoise.cs (860 Bytes)

Haven’t really seen the video or read the files, but did you try to resize the prefab it self rather than just the image???