logo80lv
Articlesclick_arrow
Research
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_loginLogIn

Beautiful Unity Water Shader Affected By Shoreline Shape & Wind

Alexey Testov shared an update on his project.

We've been following the progress of Alexey Testov, who appears to be working on some game with stunning visuals, including this lighting shader and a weather system. Now, he has showcased a new water shader that complements the scene beautifully and shared some details about how it was created.

The system relies on two noise textures multiplied together to create variation. The resulting noise range determines depth, and the water level is set using a smoothstep function. Any area below this threshold is considered water, while areas above are treated as land.

"I also define things like foam areas, a wet shoreline strip, etc. For example, if the water boundary is 0.49-0,51 in the depth mask, then at 0.45-0.5, I darken the ground texture to create a 'wet' strip. At 0.6-0.9, I add noise for waves, so there are no waves in shallow water (0.5-0.6), and they gradually appear as the water gets deeper", commented the developer.

Earlier, Alexey mentioned that he spent a few weeks rewriting everything from HDRP to URP. As a result, he's now achieving 55-60 FPS on the Steam Deck, and he believes it could reach 80. This includes over 600,000 tris just for the grass, unlimited point lights, and an almost volumetric fog effect, which he created from scratch as a post-processing effect.

Join our 80 Level Talent platform and our new Discord server, follow us on InstagramTwitterLinkedInTelegramTikTok, and Threads, where we share breakdowns, the latest news, awesome artworks, and more.

Join discussion

Comments 0

    You might also like

    We need your consent

    We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more