diff --git a/Obsidian/WorldData/Generators/IslandGenerator.cs b/Obsidian/WorldData/Generators/IslandGenerator.cs index 3e22141d..536ea498 100644 --- a/Obsidian/WorldData/Generators/IslandGenerator.cs +++ b/Obsidian/WorldData/Generators/IslandGenerator.cs @@ -83,6 +83,7 @@ public async Task GenerateChunkAsync(int cx, int cz, Chunk? chunk = null, } chunk.SetBlock(bx, y, bz, BlocksRegistry.Stone); chunk.Heightmaps[ChunkData.HeightmapType.MotionBlocking].Set(bx, bz, y); + chunk.Heightmaps[ChunkData.HeightmapType.WorldSurfaceWG].Set(bx, bz, y); } else { @@ -133,6 +134,7 @@ public async Task GenerateChunkAsync(int cx, int cz, Chunk? chunk = null, } } + WorldLight.InitialFillSkyLight(chunk); chunk.chunkStatus = ChunkStatus.full; return chunk; }