Stylized WaterShader Tutorial | No Textures required | Godot 3.2
https://www.youtube.com/watc...So in this freestyled Tutorial I want to show how I created the watermaterial for my game Sandfire. I apologize for some transposed digits, kappa.
Since the watershader doesn't require textures and imported meshes it's a pretty nice solution for beginners and non-artists like me.
Main sources of knowledge from LetsGameDev, Miziziziz and Bastiaan Olijm. Many Thanks!
The Code is pinned in the Description.
--Timestamps--
00:00 Intro
00:23 Water capability
02:02 Set everything up
02:50 Shader variables
--Fragment Shader--
05:29 Assign texture variables
06:45 Scrolling textures
08:07 Clamp values for ripples
09:16 Add colors
10:53 Normalmap
13:30 Roughness/Reflection
14:00 Refraction and Displacement
--Foam on Edges--
15:31 foam variables
16:11 rim function
16:55 add to fragment function
17:44 assign to color output
--Vertex Shader--
19:57 wave variables
20:18 wave function
21:18 apply vertex function
22:12 concluding words
If any questions occur feel free to ask in the comments or on my Twitter:
https://twitter.com/kmitt91