Biome blending

Post Reply
User avatar
acidzebra
Member
Posts: 75
Joined: Sun Sep 10, 2017 09:11

Biome blending

by acidzebra » Post

I've been messing with biomes and find

Code: Select all

vertical_blend = 8,
        -- Vertical distance in nodes above 'y_max' over which the biome will
        -- blend with the biome above.
        -- Set to 0 for no vertical blend. Defaults to 0.
to yield quite charming results when you vary the blend amount.

I've also been playing with

Code: Select all

max_pos = {x = 31000, y = 128, z = 31000},
min_pos = {x = -31000, y = 9, z = -31000},
 -- xyz limits for biome, an alternative to using 'y_min' and 'y_max'.
to create biomes that are contained to a "region". The issue is that if I restrict X and Z there is no "horizontal_blend" option so any biome defined like this will have very sharp edges:
Image

Would it be something to consider to have a horizontal_blend option?

My original idea was to have the last 2500 blocks or so on the X and Z axes of the map be a vastly different biome so players knew they were approaching "the edge of the world", but then I thought it would be a fun way to load more biomes into a map without them all overwriting each other; you could create subregions with only temperate biomes, or only rainforest biomes, etc.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Biome blending

by texmex » Post

I too am interested in this.

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Biome blending

by paramat » Post

I coded the XYZ biome limits. The intention was for specialist uses where the lack of blending is not an issue. See the issue https://github.com/minetest/minetest/issues/5725 and PR https://github.com/minetest/minetest/pull/7070 for details.
I can understand the desire for blending but i added the feature because it was simple to do, because it didn't have blending.

It's not for locating a biome in a system of biomes, it's for specifying large-scale cuboids in the world that each have their own set of biomes. Previously this could only be done in Y, so i added X and Z too.
So currently i would rather not add blending as the complexity seems unjustified, and it seems unsuitable, considering the actual intention, but i will keep it in mind and consider it.

User avatar
acidzebra
Member
Posts: 75
Joined: Sun Sep 10, 2017 09:11

Re: Biome blending

by acidzebra » Post

Thanks for the in-depth reply, paramat! I understand the intended use, I hope at some point you will revisit this. Minetest offers a giant map and I think it would be awesome to be rewarded for exploring the surface world with unique biomes that are constrained by X/Z region (as well as by the heat/humidity noise maps).

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests