From 2e1d9bda9c5df9556c77317a3c054e6be5e4093d Mon Sep 17 00:00:00 2001 From: dags- Date: Thu, 25 Jun 2020 19:51:35 +0100 Subject: [PATCH] add macro noise RenderMode --- src/main/java/com/terraforged/gui/preview/RenderMode.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/terraforged/gui/preview/RenderMode.java b/src/main/java/com/terraforged/gui/preview/RenderMode.java index daafab3..1998cf3 100644 --- a/src/main/java/com/terraforged/gui/preview/RenderMode.java +++ b/src/main/java/com/terraforged/gui/preview/RenderMode.java @@ -64,6 +64,14 @@ public enum RenderMode { 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 { @Override public int getColor(Cell cell, float scale, float bias) {