Applies to: Gaia 2 / Pro
When working with image masks in a stamper or spawner, you can quickly run into the follwing problem: The image mask is "tied" to the spawning / stamping area and moves together with the tool across the terrain:
While this can be desirable depending on what you are trying to achieve, it most often is not - usually when using an image mask, you want the mask to apply to the entire terrain rather than to the tool position. To get the desired result you can define the image mask in a world biome mask instead.
A world biome mask is defined in the scope of the entire world instead of the scope of the current tool, allowing you to use an image mask "across the entire world". This guide explains how such a mask can be set up with the world designer.
Please make a backup of your scene first before trying this - it should normally not create any issues, but the world designer creates a few additional objects in your scene and it is possible to affect your current terrains from the world designer as well.
1. Open the world designer from the advanced tab in the Gaia Manager.
2. This will create a copy of your current game world in a single world map terrain. Even if you have multiple terrains in your scene, the tool will display them as a single terrain representation. Switch off the Basemap stamping preview first in the world designer, as it will only interfere with our process:
3. Next, click the "Create First World Biome Mask" Button.
4. Give the World Biome Mask a nice name, and add your image mask to it that you want to be in scope of the entire game world.
5. That is the setup for your world biome mask done, now you only need to return to your tool (spawner / stamper) and tell it to use this world biome mask. Click the "Switch To Terrain" button on top of the Gaia Panel to return to your actual terrain.
6. Back on your actual terrain, select your tool and then add a new "World Biome Mask" in the mask stack. This example shows the world biome mask being used in a spawner, but you can use it in any tool that uses masks in any way:
7. The tool should now query the world biome mask and the image you selected there should now be in the scope of the game world instead of the tool scope. Note how the image sticks to the terrain rather to the tool. (The example below shows a multiterrain setup as well, so this works across multiple terrains)
The setup for the world biome mask is now complete and you can use it in your tools. Note that the world biome mask works like any other mask stack, that means you can also combine multiple images in there, use smoothing, etc. Using a world biome mask in a stamper can also be an useful application to prevent editing of certain areas in your world or to follow a predefined shape that you have in mind: