From 6fc96ef94e3477e10f9032c41ba4e9043f4ed07a Mon Sep 17 00:00:00 2001 From: RainWarrior Date: Wed, 28 Oct 2015 00:58:44 +0300 Subject: [PATCH] More lighting fixes, flat lighting now works correctly for grass and torches. --- .../client/model/pipeline/VertexLighterFlat.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minecraftforge/client/model/pipeline/VertexLighterFlat.java b/src/main/java/net/minecraftforge/client/model/pipeline/VertexLighterFlat.java index 96beb91b2f..a0bc15febf 100644 --- a/src/main/java/net/minecraftforge/client/model/pipeline/VertexLighterFlat.java +++ b/src/main/java/net/minecraftforge/client/model/pipeline/VertexLighterFlat.java @@ -169,8 +169,8 @@ public class VertexLighterFlat extends QuadGatheringTransformer protected void updateLightmap(float[] normal, float[] lightmap, float x, float y, float z) { - float e1 = .5f - 1e-2f; - float e2 = 1 - 1e-2f; + float e1 = 1 - 1e-2f; + float e2 = 0.95f; BlockPos pos = blockInfo.getBlockPos(); if(y < -e1 && normal[1] < -e2) pos = pos.down();