Tuesday, 16 April 2013

Island!

I've added textures and texture noise and lighting and a prefab skybox, the island is now ready for viewing:

This will be the player's island and it should be a piece of cake to generate the rest of the islands using the same code. The code I've written generates an island expanding out from the center point using sine waves to round the edges and the distance to the middle to the power of two = height to generate a mountain somewhere on the island. Once the meshes start making things like this I get really excited, I'm looking forward to generating the rest of the islands!