Finished Terrain

Implemented dynamic height mapping for terrain, as well as dynamic
texture blending, terrain texture height/normal/specular mapping, and
patched a cache bug until a better fix can be found.