More lighting fixes, flat lighting now works correctly for grass and torches.

This commit is contained in:
RainWarrior 2015-10-28 00:58:44 +03:00
parent 5214ed29b7
commit 6fc96ef94e
1 changed files with 2 additions and 2 deletions

View File

@ -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();