Coding Adventures

Coding adventures is a blog in which I explore different aspects of game programming.


You shouldn't probably take any of these as tutorials. For now, I'm just posting here Interesting findings I come across during my journey.

Procedural object placement in game worlds [PART 1]
Using noise for placing objects in Unity
My initial plan was to divide a chunk to multiple "subchunks", for example a chunk would have 81 subchunks. I would treat each subchunk as a spawnpoint for object placement: use my noise function to check against that point if an object should be spawned -> spawn object if needed -> replicate this for all the subchunks in current chunk. While this kind of works...
Unity Procedural Noise C#