This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Программирование на C#
Рендеринг
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров узла
Setting Up Materials
Setting Up Properties
Освещение
Landscape Tool
Sandworm
Использование инструментов редактора для конкретных задач
Extending Editor Functionality
Встроенные объекты
Nodes
Objects
Effects
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
UnigineScript
C++
C#
Унифицированный язык шейдеров UUSL
File Formats
Rebuilding the Engine Tools
GUI
Двойная точность координат
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
Работа с контентом
Оптимизация контента
Материалы
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Decals

A decal is a material projection on the surface. In fact, decals perform changing material parameters of the surface on which these decals are projected. It allows you to add a lot of additional details at basically no performance cost. Decals are rendered in buffers (they change buffer textures) and work only with deferred objects. A decal is a perfect object for bullet holes, bloodstains, ashes, etc.

Decals support two materials only: decal_base and decal_terrain_hole_base. While the behavior of decals with the first material applied is similar to detail textures of the material, the second type of decals is intended for creating Decal-Based Terrain Holes.

By using Water Decal option, decals can be displayed on the top of the water surface. This option can be used to create different effects on the water surface: floating branches, leaves, etc.

Projected Decal with normal map.

Types of Decals#

UNIGINE features the following types of decals:

  •   Orthographic Decal is a decal projected onto a surface by means of orthographic projection.
  •   Projected Decal is a decal projected onto a surface by means of the perspective projection.
  •   Mesh Decal is a decal based on the arbitrary.mesh file and projected onto a surface by means of the orthographic projection.

See Also

Last update: 09.04.2021
Build: ()