This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Professional (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Materials and Shaders
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.

Flowmap Panner Simple Node


Description

This node creates a flow effect for a source texture based on a flow map. Using this node, water or lava flowing in different directons can be created. The flow map can be drawn in UNIGINE Editor: the direction of flowing is set by the brush.

Notice
When simulating a fast-flowing liquid (for example, a mountain stream), flickering may occur. In such case, it is recommended to use the Flowmap Panner node. Also this node is used if the custom sampling settings are required.

The workflow is the following:

  1. Using the flowmap texture, offset for UV coordinates is applied twice with a time shift.
  2. Using 2 different UVs from the previous stage, source texture sampling is pefromed. In the result, 2 textures distorted over time according to the flowmap are created.
  3. The created textures are blended (linear interpolation) using the time coefficient to make even and continuous distortion.

Ports

Name Description
Source TextureTexture for which the flow effect will be created (albedo, normal, heightmap and so on).
FlowMap Texture (0-1)Flowmap texture that stores values in range [0;1]. Note that:
  • It is recommended to use a 16-bit format. However, a 8-bit format can be used as well: simply choose the Normal preset when importing the texture.
  • Only the R and G texture channels are used as they store coordinates of the direction vector.
  • Mipmaps SRGB correction must be disabled on texture importing.

Source UVUV channel for the source texture.
Source TilingSource texture tiling.
FlowMap UVUV channel for the flowmap texture.
FlowMap TilingFlowmap texture tiling
Phase 2 UV OffsetOffset of the final UV coordinates for the second texture. Using this value you can reduce repeatability of the pattern (if any). The default value is (0.5, 0.5).
SpeedPanner speed.
StrengthIntesity of texture distortion.
Normal IntensityIntensity of normals (if a normal texture is passed as a source texture to the subgraph). Texture sampling is performed in the subgraph, however, the normal intensity is set up in the Sample Texture node, so it is specified separately.
ColorColor data of the texture resulting from blending textures.
Normal (Tangent Space)Normals of the texture resulting from blending normal textures.
Last update: 10.10.2022
Build: ()