shown in other instead.
A Field Shoreline is an object, specifying global water areas where swash zone should be located. Field Shoreline helps to create swashes near the shores and applies the wetness effect on objects near the shoreline.
- 113 (DirectX)
- 14 (OpenGL)
Adding Field Shoreline#
To add a shoreline field in the world via UnigineEditor, do the following:
- On the Menu bar, choose Create -> Water -> Field Shoreline.
- Place the Field Shoreline in the world so that it intersects Global Water object.
Make sure that the FieldShoreline Interaction option is enabled for water_global_base material.
- Go to the Node tab of the Parameters window, set up necessary parameters and grab the shoreline texture.
Setting Up Field Shoreline#
In the Field Shoreline section (Parameters window -> Node tab), the following parameters of the shoreline field can be adjusted:
Setting Bit Masks#
|Field Mask||A field mask. A bit mask that specifies an area of the shoreline field to be applied to water. The shoreline field will be applied to water only if they have matching masks.|
|Viewport Mask||A viewport mask. A bit mask for rendering the shoreline field into the current viewport. For the shoreline field to be rendered into the viewport, its mask should match the camera viewport mask.|
Setting Shoreline Parameters#
|Size||Size of the shoreline field along the axes in units. A large FieldShoreline object provides less detailed swash zones.|
|Texture||Shoreline texture. Grab the texture to fill that field.|
|Distance||Padding distance (from shore to the beginning of swash).|
|Blur||Blur coefficient (make shoreline smoother).|
|Resolution||Grabbing texture resolution.|
|Grab texture||Grabbing texture button.|