shown in other instead.
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.
The Deferred Buffers state specifies if deferred buffers of the material should be filled.
|FieldSpacer Interaction||Enables the effect of FieldSpacer object on the Water Mesh object.|
|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 options activate post processing effects for the material.
- DOF — enables the depth of field effect.
- Motion blur — enables the motion blur effect.
- Sun shafts — enables sun shafts.
This set of states is enabled by toggling on the Planar Reflection option.
The Waves Radius parameter sets the radius of waves on the water surface.
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.|
|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#
|Intensity Through Waves||
|Intensity Around Foam||
|Diffuse Intensity||Intensity of subsurface scattering for diffuse lighting.|
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 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 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.|
This group of parameters contains Planar Reflection Parameters.
|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.|
|Reflection Occlusion Slope||Slope of negative normals of the water surface, at which occlusion is performed for wave reflections.|
|Diffuse Distortion||Distortion of decals projected onto water.|
|Soft Intersection||Soft intersection of water with the shoreline and surfaces of objects.|
|Animation Speed||Movement speed of the light patterns.|
|Brightness||Brightness of the light shapes.|