Skip to content

Commit

Permalink
Remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrgags committed Jan 9, 2024
1 parent c68e971 commit a458be1
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ void czm_computeScattering(
vec2 opticalDepth = vec2(0.0);
vec2 heightScale = vec2(czm_atmosphereRayleighScaleHeight, czm_atmosphereMieScaleHeight);

//vec3 lastVals = vec3(0.0);

// Sample positions on the primary ray.
for (int i = 0; i < PRIMARY_STEPS_MAX; ++i) {

Expand Down Expand Up @@ -130,9 +128,6 @@ void czm_computeScattering(

// Increment distance on light ray.
lightPositionLength += lightStepLength;

//lastVals = vec3(length(lightPosition));
//lastVals = vec3(float(lightHeight < 0.0), lightHeight / 1000.0, lightOpticalDepth);
}

// Compute attenuation via the primary ray and the light ray.
Expand Down

0 comments on commit a458be1

Please sign in to comment.