I’d just like to replicate the simple curvature for my project. If anyone has that available as a simple material node screencap or copy+paste node graph, much would be appreciated. It doesn’t need to be perfect, just something to bend the water around objects jutting in.
This is my version of Distance Field Flow Map.
I use a spline blueprint to create the river.
The material has a debug option to visualize the distance field water influence, shown at the end of the video.
Any idea why it seems the resolution seems out of whack for my field flow map? I migrated the assets into my project from the simplified project file that @Mars007 posted above. (Thanks btw)
I don’t have much knowledge on how this all works so I can’t possibly troubleshoot the issue, even though I’ve tried everything in the river BP and modifying the static meshes to figure out what the issue is. It seems to be connected to the shadow resolution of the static meshes though.
I tried to migrate this into a 4.18.3 project but it appears all those collisions are disabled? I just get a normal water texture? What’s going on here?
Edit 1: I upgraded to project to 4.18.3 but it appears half of the foam is missing, I’ll investigate this as it looks a little weird check out picture 1.
Edit 2: As you can see in picture 2 I have copied and pasted this into my other project and I’m getting nothing, I do have real time lighting implemented, so would this have anything to do with it? I noticed a basic cube in the scene is BRIGHT.
@Frostydowns , I’m getting the same issue as you after I migrate it to a project in 4.19.1. The original project does work correctly though (in 4.19.1) before I migrate it, so it seems like something gets lost during migration.
Anyone have any ideas about what might not migrate correctly?
For reference, this is the MI_FlowingWater2 material comparison:
Left: after migration (and a few minor tweaks)
Right: Original, before migration
Clearly, the white circular area in the original is the foam disturbance or whatever we should call it.
Could someone help me really understand the math behind everything here?
I constantly get strange results. I can visualise the DistanceFieldGradient and the 0-1 gradient but can’t figure out how to correctly use them to distort my texture.
The SimonSchreibt tutorial helped my understanding of flowmaps a lot but I can’t put it to practice with the Distance Field generated one.
I did indeed enable Generate Distance Fields in the project settings before anyone asks =p
Example of strange results I get (texture is a placeholder I found online):