terrain texturing

Trying to texture terrain, failing. Normals work. Texture mapping is
not.