Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
river [2024/03/28 09:03] avariver [2024/03/29 12:09] (current) ava
Line 1: Line 1:
 +**WaterSurface Shader**
 +
 +----
 +
 +{{https://cryengine.ru/video_preview/WaterSurface_example.mp4}}
 +
 +Params example: 
 +
 +{{::rive_watersurface.jpg?200|}}
 +
 **Texture maps** **Texture maps**
  
Line 13: Line 23:
 | Custom   | foam diffuse texture    |  | Custom   | foam diffuse texture    | 
 | [1] Custom  | Secondary foam diffuse texture    |  | [1] Custom  | Secondary foam diffuse texture    | 
 +
 +**Shader parameters**
 +
 +^Shader Params ^Dependence ^Description^
 +|Waves movement speed|-|waves speed||
 +|Bump map scale|-|bumpmap texture scale|
 +|Waves scale|-||
 +|Reflect amount|-|amount of reflection on the water|
 +|Fresnel bias|-|determines how much reflection vs. refraction is visible|
 +|Sun shine glossiness|-||
 +|Sun multiplier|-||
 +|Transparency Ratio|-||
 +|Soft intersection factor|-||
 +|Foam Factor|-||
 +|Foam multiplier|-||
 +|Foam tilling|-|foam texture tilling|
 +|Foam mix|-|mix color (balance) between foam1 and foam2 textures|
 +|mask tilling|$Subsurface foam mask texture|mask texture tilling|
 +|Mask bump tilling|-|mask texture bump|
 +|Subsurface multiplier|-||
 +|Subsurface color|-||
 +
 +
 +**Shader Generation parameters**
  
  
 +^Shader Gen Param       ^Dependence ^Description^
 +|Water Volume|-|Use for water volume|
 +|Sunshine|Specular texture|enables sunshine reflection on the water surface|
 +|Real-time Reflection|-|enable real time reflection on the water surface|
 +|No vertex fog|-||
 +|No flow|-|disable flow|
 +|Rain drops|-|enable rain drops on the water surface|
 +|Foam|$Subsurface- foam mask texture, $custom- foam1 texture, #custom1- foam2 texture|enable foam generation|
 +|Sun shading|-|enable sun shading|
 +|Invert mask|$Subsurface- foam mask texture|invert mask texture|
 +|Stop mask moving|-|do not moving mask texture|
 +|Subsurface|-|enable subsurface render|
  
 + --- //[[ava@ava.net.ru|ava]] 2024/03/28 09:36//
Back to top