Appearance
All stamps affecting the Voxel World
(or query) are processed one-by-one in a specific order. The order decides which stamps' effects are most visible, and how their blends are applied.
An Example of Why This Matters
If there are two stamps in the world, one additive plane and one subtractive sphere. The result will be very different depending on which is applied first or last.
If the additive plane is applied first, and the subtractive sphere is applied second, the terrain will be a plane with a sphere carved out. If instead the subtractive sphere is applied first, and additive plane is second, the sphere will be subtracted while there's no surface to subtract from, and then the plane will add itself over top. The terrain will just be a plane in the end.

Because of this, it's important to understand in what order stamps are processed, and how you can control that order.
Controlling Execution Order using Layers & Priority
INFO
Add new layers by creating Height/Volume Layer assets, and adding them to a Voxel Stack.
Make sure your voxel world (and queries if you have them) are using the right stack!
Layers and priority are both properties on any stamp you place, which control what order they are applied in. Layers often aren't needed, but they tend to be less messy for large world with many different kinds of stamps.
WARNING
Systems that sample voxel data, like PCG's Voxel Sampler
node and the Voxel Query
Blueprint node, use layers to know which stamps to consider.
Because of this, adding layers is necessary for more advanced workflows (i.e. scattering stamps using PCG).
Within a layer, priority controls the order of stamps. The stamp with the lowest priority number is applied first, and the stamp with the highest priority is applied last. This means the highest priority stamp will be 'most visible'.
Note that priority only matters for stamps on the same layer. Across layers, the layer at the top of a stack is applied first, with any stamps in the layer below it being blended on top of the first layer. You may use a layer for your base terrain, for example, and a second layer for your caves - forcing all your caves to be applied after your base terrain, without needing to set the right priority values.
INFO
For example:
If Stamp1 has a Priority
of 0, and Stamp2 has a Priority
of 10, Stamp2 will appear over top of Stamp1. This is because Stamp1 is processed first, and Stamp2 is processed second.
If LayerA
is the first entry in the stack, and LayerB is the second, any stamps assigned to LayerB (regardless of their priority) will appear over top of stamps from LayerA. This is because LayerA is processed first, and LayerB is processed second.
Putting Stamp2 on LayerA
, for example, and Stamp1 on LayerB, would lead to Stamp1
being on top, despite its higher priority.