This is probably a very trivial issue, but I can’t seem to fix it. This is the first time I am trying to use the built in landscape tool, and I have issues with the intersection of the landscape and a water plane.
I have a pretty dense landscape resolution (I would almost say it is too dense now), but increasing it doesn’t seem to solve my problem. For the water, I am using a ‘water plane’ which is basically a huge plane mesh.
if you’re using distance fields, look into the “distance to nearest surface” material node. you can mask out intersecting stuff with gradients to fade out/create foam or whatever.
edit: or perhaps that’s not possible with landscapes? can’t remember if landscapes generated them (since I don’t use landscape and I’m still on 4.9)
Currently the water material is just an Opaque base color, I was about to start working on the water shader when I noticed this issue. I know that fading out the opacity as the water gets more shallow can improve the results, but with my landscape resolution being extremely high (really, really high) and still getting these bad looking intersections, I was concerned that I might be missing something with the landscape settings, as this is the first time I’m using the built in tool.
I will experiment a bit with the lanscape brush settings, and I will also create some basic water shader to see how much it helps. In the meantime, if anyone has any suggestions about what am I doing wrong here, please share.
I went ahead and created a basic water shader to see if it helps, and I can say I probably found the solution. Lowering the opacity of the water at the shores seems to fix it and it even gives a nice effects. I will further improve the intersection with foam later on, but at least I am not concerned about the outcome now. Anyway, here is a screenshot to see the drastic difference for anyone who might encounter this in the future: