This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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版本。

Field Shoreline

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.

Notice
A field shoreline object affects water only if the FieldShoreline interaction option is enabled on the States tab of the water_global_base material.

Swash zone created by using FieldShoreline object.
Notice
The maximum number of FieldShorelines rendered per frame/bit mask is limited to:
  • 113 (DirectX)
  • 14 (OpenGL)

See also#

Adding Field Shoreline#

To add a shoreline field in the world via UnigineEditor, do the following:

  1. On the Menu bar, choose Create -> Water -> Field Shoreline.

  2. Place the Field Shoreline in the world so that it intersects Global Water object.
    Notice
    Make sure that the FieldShoreline Interaction option is enabled for water_global_base material.
  3. Go to the Node tab of the Parameters window, set up necessary parameters and grab the shoreline texture.
Notice
After adding a FieldShoreline object to the scene, you can't see any changes of the global water object because FieldShoreline object doesn't have any default 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.

Grabber Parameters#

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.
Last update: 2023-06-23
Build: ()