Terrain updates

Now terrain works with multitexturing and tessellation