Water Depth Shader - UE4 Materials 101 - Episode 24
Ben Cloward
0:00 / 0:00
Water Depth Shader - UE4 Materials 101 - Episode 24
53 288 просмотров · 6 лет назад
Ben Cloward
83,6 тыс. подписчиков
53 288 просмотров · 6 лет назад
In this video, we learn how to calculate the opacity of water. The opacity is based on both depth and viewing angle. We compute depth using the world space position, the camera postion, and the Scene Depth and Pixel Depth nodes. For viewing angle, we use the Fresnel node. And finally we add a DepthFade node to blend the edges of the water. Next week we'll add reflection and refraction to our water and have a complete water material.
------------------------------
Learn more!!
Other videos like this one:
• Water Surface Overview | Live Training | U...
• Translucent Water Detail | Live Training |...
• #3 How to Create Water in Unreal Engine 4 ...
Web Resources
https://www.unrealengine.com/marketpl...
https://forums.unrealengine.com/commu...
Shader Book Recommendations
https://www.bencloward.com/resources_...
------------------------------
Learn to write shaders in HLSL:
• HLSL Shader Creation 1 - HLSL Shader Funda...
• HLSL Shader Creation 2 - Light and Shading...
• HLSL Shader Creation 3: Surface Shading & ...
------------------------------
Theme Music
Peace in the Circuitry - TeknoAXE
http://teknoaxe.com/Link_Code_3.php?q...
Background Music
Speo - Still Young
• Still Young