Start refactoring

This commit is contained in:
schmelczerandras 2020-07-29 22:33:46 +02:00
parent 6fc53ee51e
commit 9b47d56d8f
39 changed files with 423 additions and 234 deletions

View file

@ -0,0 +1,27 @@
export const settings = {
qualityScaling: {
targetDeltaTimeInMilliseconds: 30,
deltaTimeError: 2,
deltaTimeResponsiveness: 1 / 16,
adjusmentRateInMilliseconds: 300,
scaleTargets: [
[0.2, 0.1],
[0.6, 0.1],
[1, 0.3],
[1.25, 0.75],
[1.5, 1],
[1.75, 1.25],
[1.75, 1.75],
],
startingTargetIndex: 2,
scalingOptions: {
additiveIncrease: 0.2,
multiplicativeDecrease: 1.15,
},
},
tileMultiplier: 5,
shaderUniforms: {
distanceScale: 64,
edgeSmoothing: 10,
},
};