This page has been translated automatically.
Programming
Fundamentials
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
Core Library
Containers
Engine Classes
Node-Related Classes
Rendering-Related Classes
Physics-Related Classes
Bounds-Related Classes
GUI-Related Classes
Controls-Related Classes
Pathfinding-Related Classes
Utility Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Global Water

A water object represents infinitely spread water (global water) with auto-tessellation (wireframe of the water object is not scaled - regardless of the camera position it stays the same) and the underwater mode. This type is suitable to represent boundless ocean while not overloading the GPU.

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.
  • On the Water tab, waves that determine periodic and sinusoidal nature of water can be set. Also on the Water tab, you can specify a field mask.
Last update: 03.07.2017
Build: ()