mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 11:05:40 +00:00
Small fix for reworked classic lighting
This commit is contained in:
1 parent
d1b220f6a3
commit
8c82b0296a
1 file changed
+2
-2
@@ -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 - 1e4f;
|
||||
float e2 = 1 - 1e4f;
|
||||
float e1 = .5f - 1e-2f;
|
||||
float e2 = 1 - 1e-2f;
|
||||
BlockPos pos = blockInfo.getBlockPos();
|
||||
|
||||
if(y < -e1 && normal[1] < -e2) pos = pos.down();
|
||||
|
||||
Reference in new issue
Block a user