Download

Water System missing tiles and collision issues

At certain camera angles, tiles of the water surface are missing.
Also, there is no way to use collision and fire weapons underwater.
Without collision on the water, the underwater has no color or culling.
To build this plugin and not address these issues seems strange to me indeed.

Does anyone at all have any input on this issue?

52 views and no replies.
Is this plugin not meant to work properly?

@anyone
Any lead at all would be appreciated.

I have the same issue. Tiles nearer to the camera are culled and I can see things underneath.

Looking in the distance, or at the right angle and it’s all purty:

Look down, get closer, etc, the right (wrong) spots and it clips. I didn’t make any adjustments to the water parms, I only dragged it into the level and added 4 pts to the spline to make it fit behind the landscape:

No idea. I tried making the clipping-plane closer/farther away, no diff. Rebuilt virtual textures, streaming textures, entire level w/lighting, closed, rebooted, reopened; nada…dafaq

I am absolutely amazed.
I have submitted this issue as a bug and it never even made the list.

Water systems are still experimental.
I am using the latest ue5 version and have not not had any of these issues described here.
Also the water uses the new single layer water shader which have some very nice features
specific to water even though it is technically an opaque material.
Underwater view is handled through a post process volume.
Collision? like bullets hitting the water and causing a splash? In " building worlds in fornite with unreal engine" from unreal fest 2020 there are some examples where it looks like they used a render target for splashes/ripples.
It might be that you are using ue4 with less compatibility for the new water features?

I am using UE5 and I have ALL of these issues as described above. It is not a UE4 compatibility problem: the plugin just seems to me to be either unfinished or poorly supported. Seems to be significantly worse if you are using landscapes generated using heightmaps as well. Lots of videos and examples of people doing this with a new level that has no landscape but a simple flat plane…try it on an actual landscape and you will run into problems.

Imgur

Hi!
Alright get ready for a long post :slight_smile:
I dont know the specifics of your project so i will make this a more general use info dump.
Have tested it some more today and have not run into the tiling loss issue, not sure
how it’s created. But either way i hope some of my tips will help some of you.
The water plugin is indeed unfinished, it is an experimental version 0.1 and has not been updated for some time. Im sure they are working on improving it. Alright info dump here goes:
The current version is meant for landscape resolutions of 4k or lower.
If you go higher than 4k you will notice once you place down a river the updating of the render target will slow down your editor heavily. Also the Ocean water itself is recommended to be at 0-0-0 world origin, the further your ocean is from world origin the more issues will arise.
The most problem free way currently of using the water system is when the landscape is completely made of landscape splines since they all affect the landscape. So Landscape->Ocean water main island-> seperate islands-> spline mountains on top-> Lakes-> Rivers. This seems like the way they currently use it on fortnite.
Now for the other way’s of achieving some use with this system in its current version.
If you only need the ocean water and dont need lakes or rivers there are a couple of ways of setting this up. I would not suggest importing a heightmap from creation of landscape, because i think the water height is set at middle of landscape height. As a normal heightmap ranges from black to white 0-1, so the water height is around 0.5. and with most heightmaps 0.5 range is already getting into the mountain ranges so your water level would be way too high. You could try to adjust the heightmap in photoshop by setting the levels from its normal 0-1 range but adjusting it to 0.5-1, but this is very map dependant and might not get the waterlevel at the correct height. Either way if this is something you want to try then import the map then set ocean water to additive, select all spline points from ocean water and set all points to location 0-0-0, this will remove the ocean landscape hole or landscape portion.
Other way’s of importing heightmaps, create landscape, add ocean water, then in ocean water settings find displacement. add your heightmap to the texture slot, set tiling to 1, set midpoint to required mid, set color channel to red(1-0-0) then set displacement height to required height of your landscape. This would allow you to sculpt landscape from the water layer itself.
There is also the option of using the landscape gizmo, under copy from landscape tools you can import heightmap to gizmo, copy data to gizmo, set gizmo settings like width height etc then place gizmo where you need it on terrain, then cntrl+v to paste the data onto the landscape.
Now for my personal favourite way currently of using the water system :slight_smile:
This is thanks to sjoerd de jong of epic games from the talk “water system deep dive”
It is a hacky method of using the landscape system without it actually affecting the landscape!
Which means you can use heightmaps sculpt and everything. And because it is still using render target it will also cut off the water on the landscape just like before.
In water brush manager you find the 2 top materials: brush angle falloff, and brush width falloff.
Duplicate those, then in the materials on both on the bottom right you connect the Unpack node to the Pack node so that you avoid the landscape changes within the material entirely.
I’l add an image for it in the end of the post.
Now replace the materials on the brush manager with those changed ones and your good to go.
Now do keep it mind that the landscape will not change on its own! So you need to sculpt the river’s and lakes yourself. Hopefully this will help some of you till its out of experimental.
^^