NEW! Stylized Water Shader Graph (Refraction – Foam -Waves – Smoothness) – Unity 2022 Tutorial

Bring your game to life with this stunning crystal clear stylized water Shader Graph.
Download project files (Patrons only):

This tutorial will cover creating the following features for your water Shader Graph:
1- Depth fade with deep and shallow colors.
2- Refraction
3- Foam
4- Waves
5- Smoothness
In addition to setting up your scene lighting.

Check out these great discounts for the Lunar Year at Unity Assets Store:

00:00 Intro
01:22 Setting up the render-pipeline and shader surface
02:10 Creating depth fade sub shader
04:55 Deep and Shallow coloring
05:45 Water refraction nodes
09:35 Water Foam controls
13:53 Water Waves controls
16:16 Water surface normals
17:20 Adding smoothness to show shiny water
18:11 Setting up the scene lighting and skybox

Previous Stylized Water Shader Tutorial:

Tropical environment pack:

Fantasy Skybox Free:

Genre : Cinematic, Drama
Artist : Ghostrifter
Song : Hope

● Discord:
● Subscribe:
● Twitter:
● Facebook:
● Support us on Patreon:


22 thoughts on “NEW! Stylized Water Shader Graph (Refraction – Foam -Waves – Smoothness) – Unity 2022 Tutorial

  • April 8, 2022 at 20:46

    Love this, its AMAZING for perspective cameras. I have a problem, and I know it has to do with me using an orthographic camera. Any chance anyone knows how to fix the depth part of the shader for an orthographic camera?

  • April 8, 2022 at 20:46

    Fantastic! I do have a question, for my own curiosity:

    I've created a sub-graph with Voronoi noise and a Power node, then turn the result into a Normal map using a Normal from Height node. However, I can't find a way to take this generated normal and plug it into the sub-graph's output (so I can use it in the water shader in place of an image). Is there a way to generate normals from noise/a gradient to use in place of the Texture2D node?

    EDIT: I should have been more patient and kept watching, lol. For those curious: Create a sub-graph of a gradient noise/Voronoi noise outputting into a Power node, then just plug the results of the subgraph into a Normals from Height node and use that for the Normal Blend.

  • April 8, 2022 at 20:46

    For some reason I can't connect the saturate node from the water surface normals section to the normal value in the output?

  • April 8, 2022 at 20:46

    Awesome video!! For anyone who encounters problems: dont forget to turn on Camera > Rendering > Opaque texture & Depth Texture

  • April 8, 2022 at 20:46

    Can you please take a lesson on changing the character and stopping the animation by pressing the button in a 2d game, for example, when the character changes while running, the running effect will stop.

  • April 8, 2022 at 20:46

    This is really great!! Easy to follow and set up in my project.
    If you ever do an update, would you consider showing how to add reflections on the water surface?

  • April 8, 2022 at 20:46

    Thank you very much, hope you will publish more Tutorials about high quality assets

  • April 8, 2022 at 20:46

    can you make a caustic shader with this because im having problems with the diamond caustic shader and if not its totally fine.

  • April 8, 2022 at 20:46

    The Hog Rider card is opened from the Spell Valley (Arena 5). He is an exceptionally quick structure focusing on, scuffle troop with decently high hitpoints and harm. He shows up very much like his Clash of Clans partner; a man with earthy colored eyebrows, a facial hair growth, a mohawk, and a brilliant body penetrating in his left ear who is riding a hoard. A Hog Rider card costs 4 Elixir to send. Procedure His quick move speed can help forward smaller than expected tanks like an Ice Golem in a push. Simultaneously, he can likewise work as a tank for lower hitpoint troops, for example, Goblins as he actually has a considerable lot of wellbeing. Most modest multitudes supplement the Hog Rider well, as they are close to as quick as him and typically power more than one card out of the adversary's hand. The Hog Rider battles with swarms, as they can harm him down and overcome him rapidly while impeding his way. Savages specifically can completely counter him without extremely severe planning on the safeguard's part, however be careful about spells. A Hunter can kill the Hog Rider in 2 hits whenever put right on top of it. Nonetheless, on the off chance that you place something before the Hog Rider, the Hunter's sprinkle will harm the Hog Rider and hit the card before it more. The Hog Rider related to the Freeze can amaze the rival and permit the Hog Rider to bargain considerably more harm than expected, particularly assuming that the rival's go-to counter is a multitude, or multitudes are their main viable counter to him. Skeletons and Bats will quickly be crushed by the spell, while Spear Goblins, Goblins, and Minions will be at low sufficient wellbeing to be crushed by a subsequent Zap or Giant Snowball. Nonetheless, this technique isn't exceptionally compelling against structures as the Hog Rider will require a significant stretch of time to obliterate the structure, giving the rival sufficient chance to express another counter. Against non-swarm troops, it can bargain a great deal of harm during the freeze time, however this can permit the adversary to set up a huge counterpush. Consequently, players ought to either possibly go for a Hog Rider + Freeze when they have different units upholding it from a counterattack, or then again in the event that the match is going to end and they need to bargain however much harm as could reasonably be expected. It's anything but smart to send in a Hog Rider just to annihilate a structure, particularly in the event that it is the main structure focusing on unit accessible, as overcoming Crown Towers turns out to be significantly more troublesome. Spells or basically holding up out the lifetime of the structure are more powerful. The exemption for this is an Elixir Collector put before the King's Tower. On the off chance that a Hog Rider put at the scaffold, he can annihilate the Collector for a positive Elixir exchange, however the harm from both Princess Towers will normally mean he doesn't make due to bargain any harm to them. In any case, assuming that the rival sends in shielding troops, it very well may be a chance to acquire spell harm esteem. In a deck with a few minimal expense cards, everything will work out for the best to just send the Hog Rider against one structure. These decks mix their card turn adequately speedy, that they will show up to their next Hog Rider before the following structure shows up in the adversary's card revolution. Since quite a while ago ran troops like Musketeer and Flying Machine can kill those structures, protecting a portion of the Hog Rider's wellbeing, conceivably permitting it to get some Tower harm. Whenever there are structures put in the center to counter the Hog Rider, understanding the arrangement of the Hog Rider and the sort of building set can help the Hog Rider to sidestep specific structures. Detached structures, for example, spawners and Elixir Collector have a bigger hitbox than cautious structures; and that actually intends that assuming an inactive structure was set 3 tiles from the waterway in the adversary's side, then, at that point, it is outside the realm of possibilities for the Hog Rider to sidestep that position as the Hog Rider will get pulled to that structure. Cautious structures have a more modest hitbox than an inactive structure, and that implies if that assuming a protective structure was put three tiles from the waterway in the rival's side, a Hog Rider put at the exceptionally left or right half of the Arena might have the option to sidestep it because of its more modest hitbox. Assuming the player has a structure previously positioned down in the focal point of the field, and the rival attempts to sidestep it with a Hog Rider at the edge of the field, they can utilize specific air troops to push the Hog Rider towards the structure as it gets around the stream, adequately denying the detour endeavor. They should be now drifting over the right arrangement, as extremely fast reflexes are needed to accurately play out this procedure. For Bats, Skeleton Dragons, and Minion Horde, they should be set directly before the Hog Rider when it is sent. For Minions, Skeleton Barrel, Mega Minion, Flying Machine, Electro Dragon, Baby Dragon, Inferno Dragon, Balloon, and Lava Hound, stun the above arrangement one tile to the right in the event that the Hog Rider is put on the left half of the field, as well as the other way around. They can likewise utilize ground troops to accomplish a similar outcome. yes. What am I doing with my life?

  • April 8, 2022 at 20:46

    Thank you a lot, thanks to you I can reach the best mark on the videogame for my class and go to the university. Thank you a lot!

Leave a Reply