     }
     break;
   case vvRenderer::VV_LIGHTING:
-    _illumination = static_cast<bool>(newValue);
+    _illumination = (newValue!=0.0);
     break;
   case vvRenderer::VV_OPCORR:
-    _opacityCorrection = static_cast<bool>(newValue);
+    _opacityCorrection = (newValue!=0.0);
     break;
   case vvRenderer::VV_TERMINATEEARLY:
-    _earlyRayTermination = static_cast<bool>(newValue);
+    _earlyRayTermination = (newValue!=0.0);
     break;
   default:
     vvRenderer::setParameter(param, newValue);

        >
renderKernel getKernelWithClipPlane(vvRayRend* rayRend)
{
  if ((bool)rayRend->getParameter(vvRenderState::VV_IS_ROI_USED)
     && (bool)rayRend->getParameter(vvRenderState::VV_SPHERICAL_ROI))
  {
    return getKernelWithSphereAsProbe<
                                      t_bpc,

  float3 probeSize = make_float3(probeSizeObj[0], probeSizeObj[1], probeSizeObj[2]);
  if (_sphericalROI)
  {
    probeSize = make_float3((float)vd->vox[0], (float)vd->vox[1], (float)vd->vox[2]);
  }

  const bool isOrtho = pr.isProjOrtho();
