     }
     else
     {
-      finalColor = blend(finalColor, current_fragment.color);
+      finalColor = blend(finalColor, currentFragment.color);
     }
 
     /*


  for (--age; age < maxage; age++)  // all fragments
  {
    current_fragment_read_status = next_fragment_read_status;
    current_fragment = next_fragment;
    segment_startpos_eye = endpos_eye;
    vec4 fragmentColor = current_fragment.color;

    objectId = current_fragment.objectId;
    updateActiveObjects(objectId, activeobjects);
    activeobjectcount = bitCount(activeobjects);


  const vec3 lightPos = vec3(0.0f, 0.0f, 0.0f);
  vec3 lightDir = normalize(lightPos - startpos_eye);
  vec3 viewDir = -1.0f * normalize(startpos_eye);
  vec3 normalizedGradient = normalize(gradient);

  // float dotNL = abs(dot(ngradient, lightDir));
  float dotNL = max(dot(normalizedGradient, lightDir), 0.0f);
  vec3 H = normalize(lightDir + viewDir);
  // float dotNH = abs(dot(ngradient, H));
  float dotNH = max(dot(normalizedGradient, H), 0.0f);
  float ka = 0.3;  // gl_LightSource[li].ambient.xyz
  float kd = 0.5;  // gl_LightSource[li].diffuse.xyz
  float ks = 0.5;  // gl_LightSource[li].specular.xyz
