Skip to content

Commit

Permalink
fixedlumiance range thing
Browse files Browse the repository at this point in the history
  • Loading branch information
MehVahdJukaar committed Feb 1, 2025
1 parent 7a3ee31 commit 88a6262
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ public void expandMatchingLuminanceRange(float minLuminance, float maxLuminance)
} else {
this.increaseDown();
}
currentMin = this.getDarkest().luminance();
}

while (Mth.abs(currentMax - maxLuminance) > 0.5 * this.getAverageLuminanceStep()) {
Expand All @@ -436,6 +437,7 @@ public void expandMatchingLuminanceRange(float minLuminance, float maxLuminance)
} else {
this.increaseUp();
}
currentMax = this.getLightest().luminance();
}
}

Expand Down

0 comments on commit 88a6262

Please sign in to comment.