mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-21 13:16:49 +01:00
Make the zone transition a bit smoother.
This commit is contained in:
parent
c5f1ec4384
commit
b0dbbe94dd
@ -157,6 +157,10 @@ func gen_terra_chunk(chunk: TerrainChunk, rng : RandomNumberGenerator, raycast :
|
||||
oil += float(val) * interp
|
||||
|
||||
chunk.set_voxel(oil, x, z, TerrainChunkDefault.DEFAULT_CHANNEL_ISOLEVEL)
|
||||
|
||||
if interp < 0.2:
|
||||
continue
|
||||
|
||||
chunk.set_voxel(1, x, z, TerrainChunkDefault.DEFAULT_CHANNEL_TYPE)
|
||||
|
||||
if chunk.position_x == 0 && chunk.position_z == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user