This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
Унифицированный язык шейдеров UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Animations-Related Classes
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
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

billboards_impostor_base

The billboards_impostor_base material is used for impostors. This material can be used for project optimization to replace a Cluster object with ObjectBillboards.

States#

The States tab contains the following settings and options:

States

Material Settings, States tab

Deferred Buffers#

Deferred Buffers enables rendering of the material into the deferred buffers. If a material is transparent, information about it is not written into the deferred buffers by default. Enabling this state for a transparent material allows this material to write into deferred buffers and, therefore, to participate in post effects.

Lerp#

Lerp enables smooth linear interpolation of sprites when the camera rotates around the object. Linear interpolation should be enabled if grabbed impostor textures store low number of frames (i.e., Phi and Theta values are small). The following options are available:

  • Disabled - linear interpolation between the sprites is disabled.
  • Lerp Unoptimized - legacy linear interpolation mode (interpolation is calculated during the depth pre-pass, making it three times slower than the mode below).
  • Lerp With Separate Opacity Map - optimized linear interpolation mode using an additional Opacity Lerp Map).

Selecting the last item in the list activates an additional opacity lerp map.

Lerp Mode#

Linear interpolation mode to be used, one of the following:

  • Full - sprites are interpolated horizontally and vertically.
  • Horizontal Only - sprites are interpolated only horizontally, vertically switching is used, this mode can be used for example if we do not fly above the impostors, but rather move around them.

Lerp Fix Blur#

This option helps making details of impostor images look sharper and less blurred reducing the negative effect of linear interpolation.

Notice
Lerp Fix Blur mostly improves the look of impostors generated for vegetation, or can be used for sprites having some irregular patterns. It should be disabled for sprites having geometry patterns, like bricks and so on.

Options#

AO Map#

AO Map enables the ambient occlusion effect. This effect is used to modulate global environment illumination using baked shadows from environment probes. Enabling the option activates the ambient occlusion texture.

Shading Map#

Shading Map enables the shading texture for the material.

Specular Map#

Specular Map enables using of the B channel of the shading texture as a specular reflection intensity map.

Microfiber Map#

Microfiber Map enables using of the Alpha channel of the shading texture as a microfiber map.

Translucent Map#

Translucent Map activates an additional translucent texture.

Depth Map#

Depth Map activates an additional depth texture.

Post Processing#

SSAO#

SSAO enables the Screen-Space Ambient Occlusion effect.

SSR#

SSR enables the Screen-Space Reflections effect.

SSSSS#

SSSSS enables the Screen-Space Subsurface Scattering effect.

DOF#

DOF enables the Depth of Field effect.

Motion Blur#

Motion Blur enables the Motion Blur effect.

Screen-Space Shadows#

Screen-Space Shadows enables the Screen-Space Shadows effect.

Textures#

The Textures tab allows setting textures for billboards:

Material Settings, Textures tab

Base Textures#

The following base texture types are available:

Albedo Texture#

The albedo texture specifies the color of the impostor surface. To create an albedo texture for an impostor, use the Impostors Creator tool: the texture is set automatically after generation.

The texture is 4-channelled (RGBA):

  1. RGB values store color information.
  2. Alpha (A) value stores transparency information.

Shading Texture#

The shading texture is a container for four different textures:

  • R channel stores the metalness texture.
  • G channel stores the roughness texture.
  • B channel stores the specular texture.
  • A channel stores the microfiber texture.
    Notice
    The texture from this channel can be used only if the Microfiber Map option is enabled.

Normal Texture#

Normal texture. To create a normal texture for an impostor, use the Impostors Creator tool: the texture is set automatically after generation.

Optional Textures#

Ambient Occlusion Texture#

Ambient occlusion texture modulates the global environment illumination, for example, when an object is lighter at the top from the sky above, and darker at the bottom from the ground below. The texture uses only R channel.

Translucent Texture#

Translucent texture stores information on the material's translucency. For example, by using this texture, it is possible to specify parts of the object that aren't translucent (the Translucent parameter won't affect them).

The texture is 1-channelled.

Depth Texture#

Depth texture stores information on the material's depth.

The texture is 1-channelled.

Opacity Lerp Map#

This texture is used for smooth linear interpolation of sprites when the camera rotates around the object avoiding abrupt switching between the sprites. Linear interpolation based on this texture is performance-friendly, as it is performed during the deferred pass. To create a texture for an impostor, use the Impostors Creator tool: the texture is set automatically after generation.

The texture is 4-channelled.

Notice
This texture is available only if Lerp is enabled.

Parameters#

This tab represents parameters available for the material. All parameters have default values, which can be replaced with your own. Availability of some parameters can depend on the values set in the States tab.

Material Settings, Parameters tab

Base Parameters#

Material Mask#

Material mask is a decal bit mask. If the material mask of a decal material matches the material mask of the surface material, the decal is projected onto the surface.

Base Parameters#

Notice
By default, all parameters are set to 1.0. You should adjust them to achieve the required result.
Albedo#

Albedo is a multiplier of the base color of the surface provided by the albedo texture.

Metalness#

Metalness is a multiplier of metalness.

Roughness#

Roughness is a multiplier of the roughness of a surface.

Specular#

Specular is a multiplier for the intensity of highlight provided by the specular texture.

Microfiber#

Microfiber is a coefficient to scale the intensity of microfiber (provided by the microfiber texture). The higher the value, the higher the microfiber texture effect is.

Translucent#

Translucent is a scale of the translucency effect, which allows the light to pass through the object, but diffuses it, so objects on the opposite side are not clearly visible.

Shadow Offset#

Shadow Offset sets an offset of impostors shadows.

Normal Intensity#

Normal Intensity is a coefficient to scale the intensity of normals (provided by the normal map). The higher the value, the higher the normal texture effect is.

Transform Parameters#

This group of parameters determines coordinates transformation of impostors.

Transform Parameters
Phi#

Phi determines the number of frames grabbed into the impostor texture when the camera rotates horizontally around the object.

Phi = 4
Phi = 8
Theta#

Theta determines the number of frames grabbed into the impostor texture when the camera rotates vertically around the object.

Theta = 2
Theta = 4
Size#

Size of the object for which impostors were grabbed.

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.
Pivot Offset#

Pivot Offset is the offset of the pivot point from the center of the object's bounding box.

Last update: 19.04.2024
Build: ()