Moves terrain generation into the terrain cache
Removes the OpenCL dependency from resources
Speeds up terrain rendering with caching