         }
     }
 
-
     // Convert wavelenght to RGB (sRGB color space)
     vec3 RGB = texture2D(WavelengthToRgb, vec2(w, 0.5)).rgb;
     vec3 color = RGB * L;

///////////////////////////////////////////////////////////////////////////////////



// find first hit over specified segment
bool traceDistance(in vec3 start, in vec3 dir, float maxDist,
                   inout vec3 hit, inout int material)
