This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine 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
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Generating Impostors with Impostors Creator

Impostors Creator tool is used to create impostors that are rendered instead of real objects at large distances. Impostors are usually used to optimize performance if you use mesh clutters: at a certain distance from the camera, they are rendered instead of the real geometry.

Impostors Creator Tool
Notice
To open the Impostors Creator tool, choose Tools -> Impostors Creator in the Menu Bar.

The Impostors Creator tool allows generating impostors for a single object or for objects baked into a mesh clutter:

The tool also provides special settings for generating impostors for vegetation. Impostor textures generated for vegetation ensure that when rotating a camera around any tree, its trunk will exactly match its geometry original regardless of the tree shape complexity.

See Also#

Impostors Creator Settings#

The Impostors Creator tool has the settings described below.

Textures#

The tool allows generating the following textures for impostors:

Final Image Specifies if the final image (the model as it is) should be generated for the impostor. Here you can also specify a postfix for the image name (_final by default).
Albedo Specifies if the albedo texture should be generated for the impostor. Here you can also specify a postfix for the texture name (_alb by default). For this texture, the following modes are also available:
  • With SSAO — when chosen, the albedo color is multiplied by the SSAO coefficient. It allows you to improve the relief effect of the impostor.
  • Without SSAO — the albedo color from the albedo buffer is saved to the texture. If the option is set, the generated impostors will be lighter.
Normal Specifies if the normal texture should be generated for the impostor. Here you can also specify a postfix for the texture name (_n by default). For this texture, the following modes are also available:
  • For Vegetation — when chosen, the grabbed normal texture looks rounded (i.e. it differs from the normal data stored in the normal buffer).
  • For Other Objects — the normal data from the normal buffer is saved to the texture.

The difference between these modes is noticeable when the original vegetation object has translucency properly set up.

Shading Specifies if the shading texture should be generated for the impostor. Here you can also specify a postfix for the texture name (_sh by default).
Baked AO Specifies if the ambient occlusion texture should be generated for the impostor. Here you can also specify a postfix for the texture name (_baked_ao by default). If generated, this texture is automatically applied in the material.
SSAO Specifies if the SSAO texture (not ray-traced SSAO) should be generated for the impostor. Here you can also specify a postfix for the texture name (_ao by default). The SSAO texture is automatically applied in the material if there is no baked AO texture.
Translucence Specifies if the translucence texture should be generated for the impostor. Here you can also specify a postfix for the texture name (_t by default). For this texture, the following modes are also available:
  • For Vegetation — when chosen, the grabbed translucence texture stores information on vegetation translucence. It imitates the translucency of a tree crown at the edges.
  • For Other Objects — the translucence data from the translucence buffer is saved to the texture.
Depth Specifies if the depth texture should be generated for the impostor. Here you can also specify a postfix for the image name (_depth by default). For this texture, only .dds format is available.
Opacity Lerp Map Specifies if an additional texture should be generated for the impostor. This texture is used for smooth linear interpolation of sprites when the camera rotates around the object avoiding abrupt switching between the sprites. Here you can also specify a postfix for the image name (_opacity by default). For this texture, only .dds format is available.

The following pictures show the difference between impostors, which textures have been baked in different modes:

Notice
For the grabbed textures, point filtering is used.

For each texture, you can choose the format:

  • .tga
  • .png
  • .dds
  • .psd

All textures are imported with the Unchanged flag disabled. It means that runtimes are created for the generated impostor textures.

Settings#

Resolution The size of the grabbed texture.
Supersampling The number of samples per pixel used for supersampling. The grabbed image is rendered in higher resolution (N times bigger) and than down-sampled to the specified size. The higher the value, the more reduced aliasing is. You can specify any of the available values for textures of any resolution. For example, for 4K textures you can specify 4x or even 8x supersampling. The option is available even for 8K textures. Available values: 1x, 2x, 4x, 8x.
Aspect Aspect ratio (width/height) of the grabbed images. The aspect affects the size of the impostor texture cell that stores the grabbed frame. For example:
  • If you need to grab the impostor for an object which height far exceeds the width (e.g. pine tree, lamp post, etc.), you should use the 4/1 aspect. In this case, the height of the texture cell will be 4 times bigger than the width. For horizontal objects (e.g. fallen pine tree), the 1/4 aspect should be used.
  • If the original object's width to height aspect is near 1 (e.g. spherical or cuboid-shaped objects), the 1/1 value should be used.

Aspect = 4/1
Phi The number of frames to be grabbed into the impostor texture when the camera rotates horizontally around the object (i.e. left or right). Available values: 4, 8, 16, 32, 64.
Phi = 4
Phi = 8
Theta The number of frames to be grabbed into the impostor texture when the camera rotates vertically around the object (i.e. upward or downward). Available values: 1, 2, 4, 8, 16.
Theta = 2
Theta = 4
Notice
When selected value is equal to 1, Lerp Mode for the impostor material (billboards_impostor_base and grass_impostor_base) shall be set to Horizontal Only.
Padding Texture padding. The recommended value is 256.
Last update: 2021-04-29
Build: ()