small change to light value getters in lod builde. Added WorldLightWrapper for future implementation
This commit is contained in:
@@ -398,7 +398,7 @@ public class LodBuilder
|
||||
|
||||
|
||||
|
||||
if (world.isEmpty())
|
||||
if (!world.isEmpty())
|
||||
{
|
||||
// server world sky light (always accurate)
|
||||
blockLight = world.getBlockLight(blockPos);
|
||||
|
||||
@@ -9,7 +9,7 @@ public class LigthMapWrapper
|
||||
|
||||
public static void setLightMap(NativeImage lightMap)
|
||||
{
|
||||
lightMap = null;
|
||||
lightMap = lightMap;
|
||||
}
|
||||
|
||||
public static int getLightValue(int skyLight, int blockLight)
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.seibel.lod.wrappers.World;
|
||||
|
||||
|
||||
//We will use this class to get all the light information from the game like skylight, blocklight and light emission;
|
||||
public class WorldLightWrapper
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user