terrain_blending_opengl_port_from_lukas_code