add macro noise RenderMode

This commit is contained in:
dags- 2020-06-25 19:51:35 +01:00
parent 44df3cb905
commit 2e1d9bda9c

View File

@ -64,6 +64,14 @@ public enum RenderMode {
return rgba(cell.biome, saturation, brightness); return rgba(cell.biome, saturation, brightness);
} }
}, },
MACRO_NOISE_SHAPE {
@Override
public int getColor(Cell cell, float scale, float bias) {
float saturation = 0.7F;
float brightness = 0.8F;
return rgba(cell.macroNoise, saturation, brightness);
}
},
REGION_SHAPE { REGION_SHAPE {
@Override @Override
public int getColor(Cell cell, float scale, float bias) { public int getColor(Cell cell, float scale, float bias) {