Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to make it look like water.

I'm working on a sidescroller game where the player spends a lot of time in water (in a physics volume).

・The camera can be changed to orthographic or perspective at the player's discretion.

・The game would ideally be playable on fairly low spec machines, like smartphones.
(I suspect these 2 conditions will drastically limit my options.)

I currently have just a flat gradient texture in the background and I also tried parenting an animated mesh with panning translucent textures on it when the player enters water, but it doesn't look good.

Ideally I'd like to have something like what they did in INSIDE, where you can see little particles floating around in the water volume. I don't know how they did it, and was hoping if anyone might have any ideas how they did it. Here's a link to a screenshot of it for reference.

With that said, I was wondering if anyone knows of any tutorials, or just has any simple ideas for making it look like the player is swimming in water (aside from character animations and sound) for a sidescroller game. I'm all eyes.

Thanks in advance for any help.

Edit: Just a guess, but maybe they used gpu sprites to achieve that underwater particle debris effect in INSIDE. I hooked up some gpu sprites, setting their initial location to a wide area, and the effect is pretty similar. I'm still open to other ideas if anyone's got something they wouldn't mind sharing.

Product Version: UE 4.12
more ▼

asked Oct 20 '16 at 04:27 AM in Blueprint Scripting

avatar image

352 35 38 57

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hi kusokuso1,

There is a great water shader tutorial you can modify here:


more ▼

answered Oct 27 '16 at 02:37 PM

avatar image kusokuso1 Nov 11 '16 at 09:00 AM

Awesome, thanks a bunch for the link, Adam Davis.
Seeing this doesn't use any post process I take it this should be OK for low-spec machines.

Much appreciated.

Edit: Ah shoot I just now noticed it uses World Position Offset for the wave movement. When I tried using World Position Offset on materials in 4.12.5 they wouldn't render on mobile. Still this should be good for other low-spec machines.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I'm currently working with some water right now as well. Here's a video that I found really useful, hope it is somewhat helpful.


more ▼

answered Oct 20 '16 at 04:36 AM

avatar image

353 11 3 14

avatar image kusokuso1 Oct 20 '16 at 05:06 AM

Ah cool, Nken418. Thanks a lot. I extremely appreciate.
(My google skills leave much to be desired...)

avatar image Nken418 Oct 20 '16 at 05:52 AM

Water is so difficult, getting everything right is just difficult. I've been working hours on trying to make those little white light reflections at the bottom, getting it the perfect color, trying to get audio sounding right when I'm under water. Lighting alone is already difficult but lighting in water with the refraction=death. I know there's also places where you can download water shaders, I found them somewhere once. Good Luck on the project!

avatar image kusokuso1 Oct 21 '16 at 08:50 AM

Thanks for the warning, Nken418. I'll keep that in mind when I start working on it. I should be able to hit it in a few hours, or next Monday at the latest.

I'll report back with the results.

avatar image kusokuso1 Oct 26 '16 at 06:19 AM

Nken418, sorry for laggy follow-up. I finally got around to checking out the link. Actually, I ran into that vid a year ago. I was a fresh newb then and could barely even navigate the editor. Regardless, if it weren't for you I would've had trouble re-searching it.

Checking it out now, though, it uses a lot of post-process effects. The game I'm working on is for low-spec machines so I can't use much if any post processes. What you're after is far more ambitious than what I am. I'm just looking for simple 2.5 D-ish water effects.

Thanks a lot for the link and the warning though. Much appreciated! Good luck on getting that refraction working.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question