Adaptive raster culling #41
+1
-1
@@ -111,7 +111,7 @@ public final class RasterBudget {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.yieldEma >= HIGH_YIELD) {
|
if (this.yieldEma >= HIGH_YIELD && yield >= HIGH_YIELD) {
|
||||||
this.limit = Math.min(saturatingDouble(this.limit), this.ceiling);
|
this.limit = Math.min(saturatingDouble(this.limit), this.ceiling);
|
||||||
} else if (this.yieldEma <= LOW_YIELD) {
|
} else if (this.yieldEma <= LOW_YIELD) {
|
||||||
this.limit = Math.max(this.limit >> 1, FLOOR);
|
this.limit = Math.max(this.limit >> 1, FLOOR);
|
||||||
|
|||||||
Reference in new issue
Block a user