water_mesh_base
The water_mesh_base material simulates water and other liquids and is applied to the Water Mesh object.
States#
In the States tab, you can set rendering passes and available options. Enabling some states activates additional textures and parameters in the Textures and Parameters tabs respectively.
Default#
The Deferred Buffers state specifies if deferred buffers of the material should be filled.
Options#
FieldSpacer Interaction | Enables the effect of FieldSpacer object on the Water Mesh object. | ||||||
---|---|---|---|---|---|---|---|
Additional Details |
|
||||||
Caustics |
|
||||||
Caustics Distortion |
|
||||||
Planar Reflection | If enabled, this state allows using planar reflections on the water surface instead of SSR. Enabling the option activates a set of Planar Reflection states and Planar Reflection parameters. |
Post Processing#
Post processing options activate post processing effects for the material.
- DOF — enables the depth of field effect.
- Motion blur — enables the motion blur effect.
Planar Reflection#
This set of states is enabled by toggling on the Planar Reflection option.
Textures#
Parameters#
Waves Radius#
The Waves Radius parameter sets the radius of waves on the water surface.
Waves Animation#
Waves for the water_mesh material are created by using the Normal Detail map. The engine performs sampling from the map and creates ripples using several detail layers.
There are two base detail layers (Detail 0 and 1), additional ripples (Detail 2-4) are enabled by toggling on the Additional Details parameter.
Each detail layer has the following parameters:
Detail UV Transform | This parameter specifies the transformation of the detail map sampling. The first two values are the scale texture coordinates along the X and Y axes. The third and forth specify the wind force and direction for the U and V axes. |
---|---|
Detail Intensity | This parameter sets the intensity of the sample of the detail normal map. |
Foam Parameters#
Patch 0 UV Size | Size of the first foam texture patch. |
---|---|
Patch 0 UV Speed | Speed of the first foam patch. |
Patch 1 UV Size | Size of the second foam texture patch. |
Patch 1 UV Speed | Speed of the second foam patch. |
Shoreline Intensity | Foam intensity near shores or different objects in water. |
Subsurface Scattering Parameters#
Color |
|
||||||
---|---|---|---|---|---|---|---|
Ambient Intensity |
|
||||||
Intensity Through Waves |
|
||||||
Intensity Around Foam |
|
||||||
Diffuse Intensity | Intensity of subsurface scattering for diffuse lighting. |
Underwater Parameters#
The Underwater parameters adjust the underwater part of the water_mesh_base material.
The final color of underwater is calculated using the following formula:
FinalColor = FogColor * SunLighting^(1/FogSunLighting) + FogColor * EnvLighting^(1/FogEnvLighting)
FogColor, FogSunLighting, and FogEnvLighting are specified in the material. The other parameters (Sun and Environment lighting) are calculated according to the sun lighting and environment lighting of the scene. In fact, this formula defines how the sun and the environment lights affect the final underwater color.
Fog Transparency |
|
||||||
---|---|---|---|---|---|---|---|
Fog Lighting Depth | The distance from the water surface, in units, up to which the light affects the underwater color. | ||||||
Lighting Offset | Height offset for lighting. | ||||||
Fog Color |
|
||||||
Fog Environment Lighting | Degree of impact of the environment lighting on the final underwater color. | ||||||
Fog Sun Lighting | Degree of impact of the sun lighting on the final underwater color. | ||||||
Shafts Intensity | Intensity of the underwater sun shafts. |
Planar Reflection#
This group of parameters contains Planar Reflection Parameters.
Default#
Material Mask | The material bit mask. The decal can be projected onto the water surface only if the material mask of the decal material matches this mask. |
---|
Other#
Reflection Roughness |
|
||||||
---|---|---|---|---|---|---|---|
Reflection Occlusion |
|
||||||
Reflection Occlusion Slope | Slope of negative normals of the water surface, at which occlusion is performed for wave reflections. | ||||||
Refraction Scale |
|
||||||
Diffuse Distortion | Distortion of decals projected onto water. | ||||||
Soft Intersection | Soft intersection of water with the shoreline and surfaces of objects. |
Caustics#
UV Transform |
|
||||||
---|---|---|---|---|---|---|---|
Distance Fade |
|
||||||
Animation Speed | Movement speed of the light patterns. | ||||||
Brightness | Brightness of the light shapes. |