finally got the terrain texture to draw inside its boundaries