              true, // Local illumination.
              true, // Opacity correction.
              false, // Jittering.
-             true, // Clip sphere.
+             false, // Clip sphere.
              false, // Clip plane.
              false // Show what's inside the clip sphere.
             ><<<gridSize, blockSize>>>(d_output, width, height,

  sample1.z = volume<bpc>(pos - make_float3(0.0f, 0.0f, DELTA));
  sample2.z = volume<bpc>(pos + make_float3(0.0f, 0.0f, DELTA));

  N = normalize(sample2 - sample1);

  if (normal != NULL)
  {

      const float shininess = 1000.0f;
      if (justClippedPlane)
      {
        src = blinnPhong<bpc>(src, texCoord, L, H, Ka, Kd, Ks, shininess, &planeNormal);
        justClippedPlane = false;
      }
      else if (justClippedSphere)
      {
        float3 sphereNormal = normalize(pos - sphereCenter);
        src = blinnPhong<bpc>(src, texCoord, L, H, Ka, Kd, Ks, shininess, &sphereNormal);
        justClippedSphere = false;
      }
      else
      {
        src = blinnPhong<bpc>(src, texCoord, L, H, Ka, Kd, Ks, shininess);
      }
    }
    justClippedPlane = false;
