More lighting fixes, flat lighting now works correctly for grass and torches.
This commit is contained in:
parent
5214ed29b7
commit
6fc96ef94e
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue