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
Art Samples
Tutorials

Portals Sample

This material graph sample demonstrates how to use portals in your materials.

Two colors (A and B) are blended by the Lerp node controlled by the coefficient provided by the Float Slider node (enabling you to adjust float values via the Parameters panel in the UnigineEditor).

Both colors and the control slider are connected to the corresponding ports of the Lerp node via portals (portal_color_a, portal_color_b, and portal_slider). Output ports of color portals are connected via the XYZ port adapter selecting RGB color components.

Opacity value (fully opaque) for the Deferred PBR Material master material node is specified directly via the port adapter.

Finally, the data output is passed to the Final Material node.

Last update: 2021-04-29
Build: ()