heightmap select - style fixes

This commit is contained in:
Azgaar 2022-05-27 02:22:25 +03:00 committed by Peter
parent e1cbca2546
commit 48e36fa26c
3 changed files with 28 additions and 2 deletions

View file

@ -510,6 +510,7 @@ window.HeightmapGenerator = (function () {
const powered = lightness < 0.2 ? lightness : 0.2 + (lightness - 0.2) ** 0.8;
heights[i] = minmax(Math.floor(powered * 100), 0, 100);
}
return heights;
}
return {