another small fix (sorry)

This commit is contained in:
Morippi
2022-08-24 13:16:55 +02:00
parent 45ec219bb5
commit 22f9d20aae
@@ -167,7 +167,7 @@ public class ColumnBox
boolean allAbove = true;
short previousDepth = -1;
byte nextSkyLight = upSkyLight;
boolean isTransparent = ColorUtil.getAlpha(color);
boolean isTransparent = ColorUtil.getAlpha(color) < 255;
// TODO transparency ocean floor fix
// boolean isOpaque = ((colorMap[0] >> 24) & 0xFF) == 255;
for (i = 0; i < dataPoint.size() && DataPointUtil.doesItExist(adjData.get(i))