first steps for GLSL distance map