Skip to content

Commit

Permalink
Remove extraneous variable from shader
Browse files Browse the repository at this point in the history
  • Loading branch information
Janine Liu committed Mar 31, 2022
1 parent 88ece22 commit 7177228
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ float clip(vec4 fragCoord, sampler2D clippingPlanes, mat4 clippingPlanesMatrix)

#ifdef UNION_CLIPPING_REGIONS
float clipAmount; // For union planes, we want to get the min distance. So we set the initial value to the first plane distance in the loop below.
bool breakAndDiscard = false;
#else
float clipAmount = 0.0;
bool clipped = true;
Expand Down

0 comments on commit 7177228

Please sign in to comment.