Differences

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

Link to this comparison view

Next revision
Previous revision
river [2024/03/28 09:00] – created 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 4: Line 14:
 | Diffuse    | not using     | | Diffuse    | not using     |
 | Specular   | Specular texture (water surface) | | Specular   | Specular texture (water surface) |
-| Bumpmap   extra bump map texture    +| Bumpmap   not using    
 | Normalmap   | not using      | Normalmap   | not using     
 | Environment   | environment cube map texture    | Environment   | environment cube map texture   
-| Detail   not using     | +| Detail   noise texture     | 
 | Opacity   | not using      | Opacity   | not using     
 | Decal  | not using    |  | Decal  | not using    | 
-| Subsurface   not using     | +| Subsurface   mask texture     | 
 | 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