shown in other instead.
Details serve to achieve realistic visual representation of the terrain. They can be seen as layers (or masks) specifying where the additional features (such as rocks, sand, etc.) are located on the basic surface. Details are generated on the basis of landcover data available.
Let's review the process of generating details.
The process in general can be seen as picking the specific data from the data source with the help of filters to create a mask.
1. Adding a Landcover Data Source#
In the Sandworm window, Sources panel:
- Clicking on Mask opens the window for adding slots. Slots are designed to organize data into different terrain masks.
- Clicking on + Add Layer provides the toolset for uploading landcover data.
When adding a layer, define the type of Data Source to be used: Assets or External Files and click Import.
- In the window that opens, select the landcover data source to be used as a mask. R8 and RGB8 mask textures are supported.
When the mask is added, its image is displayed atop all the layers in the Preview panel (the order of layers display may be changed by RMB click on a layer in the list of sources), and the Mask layer parameters become available.
2. Specifying Filters#
Double-click on the filter to specify a filter name. To remove a filter use Remove button. You can add as many filters as necessary.
The Share button allows shared use of the filter among masks. Select the mask that will share this filter in the pop-up window. Changes in a shared filter will be applied to it in all masks.
- Select a slot from those created by you (Inputs -> Mask). Slots are designed to organize data into different terrain masks.
For every filter, type should be set to select certain data from the landcover data source. The following types of filters are available:
Indexed — select a particular color index from the list of available ones in the source raster image. You can also specify the color range by indices (from color to color).
Single Channel — select a channel of the source raster image.
Color — set a particular color taken from the source raster image and adjust the Range for it, thus defining the suitable deviation from the specified color.
Click the color to open the color settings:
Select the color from available or click Pick Screen Color to select the color from the image in the Preview panel:
This is it. The data for details are ready. After terrain generation they will be available as the terrain details.
The generated details are available in your project and can be configured as you need, depending on the output terrain object selected: