Skip to content

Commit

Permalink
adjust pending task scheduling time priority factor
Browse files Browse the repository at this point in the history
  • Loading branch information
douira committed Jan 3, 2025
1 parent b587263 commit b8cf0e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class PendingTaskCollector implements OcclusionCuller.GraphOcclusionVisit

// tunable parameters for the priority calculation.
// each "gained" point means a reduction in the final priority score (lowest score processed first)
static final float PENDING_TIME_FACTOR = -1.0f / 500_000_000.0f; // 1 point gained per 500ms
static final float PENDING_TIME_FACTOR = -1.0f / 5_000_000_000.0f; // 1 point gained per 5s
static final float WITHIN_FRUSTUM_BIAS = -3.0f; // points for being within the frustum
static final float PROXIMITY_FACTOR = 3.0f; // penalty for being far away
static final float CLOSE_DISTANCE = 50.0f; // distance at which another proximity bonus is applied
Expand Down

0 comments on commit b8cf0e7

Please sign in to comment.