# Interactive Water Shader Test

**URL:** <https://forums.unrealengine.com/t/interactive-water-shader-test/46282>\
**Category:** Showcase\
**Tags:** unreal-engine, Work-in-Progress, Showcase\
**Created:** [October 31, 2015, 10:30pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282 "2015-10-31T22:30:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![TK-Master](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TK-Master](https://forums.unrealengine.com/u/TK-Master)\
**Post date:** [October 31, 2015, 10:30pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/1 "2015-10-31T22:30:36Z")

</div>

Hey everyone,

I made an interactive water shader test to see if it is doable without C++.

The goals of this test were the following:

-Create an interactive water material entirely within the material editor.  
-Must be fast enough to be used in a game and not just a tech demo.  
-Blueprint driven (no C++ involved).  
-Pack it into a single material function so it can be applied to any water material.

I can’t say I’m super satisfied with the performance, it’s over 600 instructions already just for the displacement (there should be room for improvement theoretically though) but the fact I was able to achieve this within a couple of hours is good enough for me :o

://www.mediafire/convkey/e836/61zdp2v0nicthmzzg.jpg?size\_id=5

v=bcsliGAJVAs

* * *

\*\*  
Here is test #2:\*\*

v=1\_qC788PPfI

Added buoyancy, faked caustics, normals, refraction etc.

---

<div class="post-metadata">

**Author:** ![BaekIronFist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BaekIronFist](https://forums.unrealengine.com/u/BaekIronFist)\
**Post date:** [October 31, 2015, 10:43pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/2 "2015-10-31T22:43:43Z")

</div>

This is amazing!! I want it NOW :D!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5cee3492](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5cee3492](https://forums.unrealengine.com/u/anonymous_user_5cee3492)\
**Post date:** [November 1, 2015, 4:32pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/3 "2015-11-01T16:32:02Z")

</div>

dude! Any plan to release?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_923c79df](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_923c79df](https://forums.unrealengine.com/u/anonymous_user_923c79df)\
**Post date:** [November 1, 2015, 5:30pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/4 "2015-11-01T17:30:08Z")

</div>

That’s !! 😃

---

<div class="post-metadata">

**Author:** ![Achilleon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Achilleon](https://forums.unrealengine.com/u/Achilleon)\
**Post date:** [November 1, 2015, 6:36pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/5 "2015-11-01T18:36:03Z")

</div>

Pure epicness.

---

<div class="post-metadata">

**Author:** ![TK-Master](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TK-Master](https://forums.unrealengine.com/u/TK-Master)\
**Post date:** [November 4, 2015, 11:00pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/6 "2015-11-04T23:00:41Z")

</div>

Thanks guys 😉  
\*\*  
Here is test #2:\*\*

v=1\_qC788PPfI

Added buoyancy, faked caustics, normals, refraction etc.

And yes I do plan to share eventually.  
I should mention however that the performance is not really good enough… after the normals calculations got added it got to over 800 instructions… so yeah, keep your expectations super low :p:p.

---

<div class="post-metadata">

**Author:** ![halobungie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/halobungie/32/464852_2.png) [@halobungie](https://forums.unrealengine.com/u/halobungie)\
**Post date:** [November 5, 2015, 8:06am UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/7 "2015-11-05T08:06:15Z")

</div>

Hello,  
where can i download a demo from this fantastic Scene?  
Greetings,  
halobungie

---

<div class="post-metadata">

**Author:** ![stucki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stucki](https://forums.unrealengine.com/u/stucki)\
**Post date:** [November 5, 2015, 11:09am UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/8 "2015-11-05T11:09:14Z")

</div>

wow speechless …

---

<div class="post-metadata">

**Author:** ![Filly\_The\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Filly\_The\_Owl](https://forums.unrealengine.com/u/Filly_The_Owl)\
**Post date:** [November 5, 2015, 11:13am UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/9 "2015-11-05T11:13:08Z")

</div>

THAT IS A FAKE!!! There is no scene with liam neeson in it! And the water has no reflections and depth?

[https://imgflip/s/meme/Liam-Neeson-Taken.jpg](https://imgflip/s/meme/Liam-Neeson-Taken.jpg)

Who ever made this… he has certain skills… very ccertain… i will find him… and he will be my MASTER

---

<div class="post-metadata">

**Author:** ![Rico\_D](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rico_d/32/484938_2.png) [@Rico\_D](https://forums.unrealengine.com/u/Rico_D)\
**Post date:** [November 8, 2015, 5:54am UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/11 "2015-11-08T05:54:45Z")

</div>

Dude that would be really amazing! I believe that water is UE4’s biggest weakness! Cryengine has amazing water and UE4 has them beat on almost everything else. Hope this gets released! Amazing work!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_138c2332](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_138c2332](https://forums.unrealengine.com/u/anonymous_user_138c2332)\
**Post date:** [November 8, 2015, 10:20pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/12 "2015-11-08T22:20:28Z")

</div>

Good work so far!

The water looks like plastic though, compare an identical setting with real-time caustics in WebGL  
://madebyevan/webgl-water/

.

://media.creativebloq.futurecdn.net/sites/creativebloq/files/images/2013/12/webgl-water.jpg

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [November 8, 2015, 10:27pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/13 "2015-11-08T22:27:25Z")

</div>

If you need a beta tester, i sign up . . .

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_adcf0aef](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_adcf0aef](https://forums.unrealengine.com/u/anonymous_user_adcf0aef)\
**Post date:** [November 8, 2015, 11:17pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/14 "2015-11-08T23:17:09Z")

</div>

> [@unit23;416436](#):
>
> If you need a beta tester, i sign up . . .

I do as well. :rolleyes:

---

<div class="post-metadata">

**Author:** ![\_cDub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_cDub](https://forums.unrealengine.com/u/_cDub)\
**Post date:** [November 9, 2015, 1:27am UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/15 "2015-11-09T01:27:54Z")

</div>

I thought materials didn’t use neither blueprints nor c++, but used some form of visual shader language. If not, it might be worthwhile to switch it over c++. Can’t wait to see more. 🙂

---

<div class="post-metadata">

**Author:** ![gbsr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gbsr](https://forums.unrealengine.com/u/gbsr)\
**Post date:** [November 9, 2015, 3:30am UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/16 "2015-11-09T03:30:09Z")

</div>

updates? 😃

Or rather: Impressive. Please keep us updated 🙂

---

<div class="post-metadata">

**Author:** ![Wilkes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wilkes](https://forums.unrealengine.com/u/Wilkes)\
**Post date:** [November 9, 2015, 3:32am UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/17 "2015-11-09T03:32:11Z")

</div>

Looks really cool. I think higher frequency waves would help make it look more believable. Currently the disturbances disappear very quickly (I’m sure there are practical reasons for that).

---

<div class="post-metadata">

**Author:** ![n00854180t](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n00854180t](https://forums.unrealengine.com/u/n00854180t)\
**Post date:** [November 9, 2015, 4:13am UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/18 "2015-11-09T04:13:43Z")

</div>

This looks TK-Master - do want!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1aa296f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1aa296f](https://forums.unrealengine.com/u/anonymous_user_f1aa296f)\
**Post date:** [November 9, 2015, 5:45pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/19 "2015-11-09T17:45:09Z")

</div>

Dang, this is pretty expensive, right? I would like something similar to this but we are shooting for a mobile release so maybe not!

---

<div class="post-metadata">

**Author:** ![Semaphore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Semaphore](https://forums.unrealengine.com/u/Semaphore)\
**Post date:** [November 30, 2015, 10:49am UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/20 "2015-11-30T10:49:01Z")

</div>

Looking ,

When do we get to use it?

---

<div class="post-metadata">

**Author:** ![Kashaar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kashaar/32/551486_2.png) [@Kashaar](https://forums.unrealengine.com/u/Kashaar)\
**Post date:** [November 30, 2015, 3:16pm UTC](https://forums.unrealengine.com/t/interactive-water-shader-test/46282/21 "2015-11-30T15:16:01Z")

</div>

> [@\_cDub;416492](#):
>
> I thought materials didn’t use neither blueprints nor c++, but used some form of visual shader language. If not, it might be worthwhile to switch it over c++. Can’t wait to see more. 🙂

That is correct, but you can use Blueprints or C++ to pass parameters into a dynamic material instance. That lets you create e.g. dynamic location-based effects!

[Next page](https://forums.unrealengine.com/t/interactive-water-shader-test/46282.md?page=2)
