This page has been translated automatically.
Программирование
Fundamentals
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Terrain Grabber

Terrain Grabber is a very simple tool that allows baking textures (diffuse, normal and light maps) for terrain together with its detail materials and all objects on it. For example:

  • Detail materials can be baked into a coarse diffuse texture to be seen on distant LODs.
  • After placing Mesh or World Clutter, Mesh or World Cluster, grass, billboards, decals etc., the texture is baked with all visible objects and can be easily modified in any 2D editor (for example, a mask can be created based on it). This feature is useful in case objects are randomly scattered across the terrain.

Options

Surface size Texture size per terrain surface in pixels. The size of the created terrain-wide texture will vary depending on how many surfaces there are on the terrain.
Height The height of the terrain for which the grabbing will be performed.
Grab Color Create a diffuse texture containing deferred decals.
Diffuse Texture with Deferred Decals
Diffuse Texture with Deferred Decals
Grab Diffuse Create a diffuse texture with objects. This option can also be used to bake detail textures into coarse diffuse to be seen on distant LODs.
Notice
If detail materials are not baked into a diffuse texture, increase Lods distance to grab them.
Diffuse Texture with Detail Materials Diffuse Texture with Objects
Diffuse Texture with Detail Materials
Diffuse Texture with Objects
Grab Normal Create a normal map with objects.
Normal Map with Objects
Normal Map with Objects
Grab LightMap Create a light map with objects. A light map can be set as terrain diffuse texture, while the WorldLight rendering pass is disabled for the terrain.
Notice
Disable HDR (Esc key → Render tab → HDR checkbox) to bake a light map.
Light Map with Objects
Light map with objects

How to Bake World Clutter/Cluster Objects

To bake World Clutter and World Cluster objects that are drawn only around the camera, increase the distance around the camera across which objects are rendered:

  1. Increase Render settings -> Common tab -> Distance scale. Each surface is rendered as if a camera is positioned in its center, thus the distances should be enough to cover one surface.
  2. You can also increase Cluster/Clutter -> Visible distance.
  3. On terrain Grabber tab, set non-zero Render frames.
Last update: 03.07.2017
Build: ()