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

volume_proj_base

A volume_proj_base material is used to create light beams from directional light sources, such as car headlights, searchlights or beacon light. It is applied to the Volume Projected objects only.

Volume Proj Material

Volume Proj Material

States#

Material Settings, States Tab

Soft Interaction#

Allows to avoid visual artifacts (such as sharp edges) when the volume projected object intersects other objects. The volume object fades out to the intersection plane. Colors of the volume projected object and the object are smoothly interpolated in case they are approximately of the same depth value.

Textures#

Material Settings, Textures Tab

Base Textures#

Diffuse Texture#

A diffuse map that is used to create a light beam. The texture is 3-channelled (RGB).

Attenuation Texture#

An attenuation texture that specifies how the object fades out from the center (the left side of the texture) to the edges (the right side of the texture).

Attenuation texture 1 Attenuation texture 2
Attenuation example 1 Attenuation example 2
The same object with two different attenuation textures.

The texture is 4-channelled (RGBA).

Parameters#

Material Settings, Parameters Tab

Base Parameters#

Diffuse#

A color picker to choose the color of the volume.

Diffuse Scale#

Multiplier for the diffuse color of the volume. The higher the value, the brighter the diffuse color is.

Soft Interaction#

This option allows to control the volume projected object intensity when it is close or intersects other objects.

  • By the minimum value of 0.5, the whole volume projected object is rendered faded out to prevent any sharp edges between it and the intersected object.
  • By higher values, only the intersection edge between the volume projected object and another object is smoothed. The rest of the volume projected object is rendered in full brightness.

Notice
The parameter is available only when the Soft Interaction state is enabled.

Transformation Parameters#

Notice
For more details on setting texture coordinates, read the Texture Coordinates Transformation chapter.

Attenuation#

Transformation of the V coordinate of the attenuation texture. For a default texture, changing this option doesn't affect the volume proj, since a simple gradient is used.

V coordinate of the attenuation texture

V coordinate of the attenuation texture
Last update: 13.12.2021
Build: ()