private short getColor(short x, short y) { ShortPoint2D current = new ShortPoint2D(x, y); final int dheight = getLandscapeHeightAround(current, false) - getLandscapeHeightAround(current, true); final float basecolor = .8f + .15f * dheight; return dataSupplier.getLandscape(x, y).getColor().toShortColor(basecolor); }