working 3d height map rendering