Back to Browse

Unity 3D Water Shader - HLSL/CG Tutorial

6.5K views
Sep 28, 2023
16:34

I will teach you how to create a fully customizable 3D water shader in Unity using HLSL. We will create waves by modifying the positions of the vertices, setup normal textures to add details to the water, and make the water change opacity based on its depth using the camera's depth texture. RESOURCES + CODE - https://github.com/Freedom-Coding/Water-shader-resources FPS CONTROLLER - https://assetstore.unity.com/packages/templates/packs/realistic-fps-controller-free-223479 👍 Like and 🔔Subscribe for More Unity and C# Tutorials https://www.youtube.com/@UClTnTUyCeSu9tN8FNNoXMRg 🌟 Support My Work and Unlock Exclusive Content! 🌟 👉 Patreon: https://www.patreon.com/FreedomCoding 🎮 Join Our Developer Community! 💬 Discord: https://discord.gg/JzssYyjvGu 💖 Support Me Financially ☕ PayPal, Revolut: [email protected] Are you looking for a Unity/C# tutor? Contact me here - [email protected] Website - https://www.freedom-coding.com Timestamps: 00:00 Water Shader 00:28 Setup 02:08 Waves - Changing Vert Positions 06:08 Result - Waves 06:50 Normal Textures - More Details 09:22 Result - Normal Textures 09:43 Moving Water Texture 11:03 Result - Moving Water Texture 11:35 Water Depth - Change Opacity 15:23 FINAL RESULT

Download

0 formats

No download links available.

Unity 3D Water Shader - HLSL/CG Tutorial | NatokHD