Small changed to border shading + changed overdraw ratio
This commit is contained in:
@@ -361,7 +361,7 @@ public class LodBufferBuilder
|
||||
&& (!LodUtil.isBorderChunk(vanillaRenderedChunks, chunkXdist + gameChunkRenderDistance + 1, chunkZdist + gameChunkRenderDistance + 1) || smallRenderDistance)
|
||||
&& vanillaRenderedChunks[chunkXdist + gameChunkRenderDistance + 1][chunkZdist + gameChunkRenderDistance + 1]
|
||||
&& !DataPointUtil.isVoid(lodDim.getSingleData(detailLevel, xAdj, zAdj)))
|
||||
adjShadeDisabled[Box.DIRECTION_INDEX.get(direction)] = true;
|
||||
adjShadeDisabled[Box.DIRECTION_INDEX.get(direction)] = DataPointUtil.getAlpha(lodDim.getSingleData(detailLevel, xAdj, zAdj)) < 255;
|
||||
adjData.get(direction)[0] = DataPointUtil.EMPTY_DATA;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -403,7 +403,7 @@ public class LodUtil
|
||||
case DYNAMIC:
|
||||
// only skip positions that are greater than
|
||||
// half the render distance
|
||||
skipRadius = (int) Math.ceil(chunkRenderDist / 2.0);
|
||||
skipRadius = (int) Math.ceil(chunkRenderDist * 4 / 5);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user