During the last few weeks I was working on the terrain for my game. All scenes in the game are generated randomly, so the ground texture needs to be randomly generated as well. I do this by building ...