This page has been translated automatically.
Programming
Fundamentals
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and 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
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Global Water

A Global Water is an infinitely spread mesh with auto-tessellation that represents a boundless ocean (the wireframe of the water is not scaled; regardless of the camera position it always stays the same). It is optimized so the GPU is not overloaded.

The object has support for the underwater mode. However, it cannot have a body assigned, and thus does not provide proper physical interaction with scene objects. Also it is limited to a single water level. It means that the filling level of water always remains the same. So, if you need to create, for example, mountain lakes or water flows with height difference, you should use a Water Mesh.

Notice
As the water object uses the screenspace projected grid for the water surface of the infinite size, it is recommended to use only one (1) water object in the scene.

Ocean Created with Water Object

Notice
Physical interaction of a water and other scene objects can be done by using a physical water object: you can place a physical water object in the water to indicate an area where physical interactions will take place.

See also

Adding Water

To add infinite water to the scene via UnigineEditor:

  1. On the Menu bar, click Create -> Object -> Water Global:

  2. Place the water object in the scene:

Infinite water will be added to the scene and you will be able to edit it via the Nodes window.

Editing Water

Water settings can be adjusted via the Nodes window:

  • On the Surfaces tab, water surfaces that determine optical and dynamic behavior of water can be adjusted.
Last update: 2017-07-03
Build: ()