first pass at terrainSample contrib