Sorry for resurrecting an old thread but sometime discussion on certain subject should be follow up to recent software version.
I am trying to adapt this to eevee but i know that rasterizer renderer is not physically accurate but maybe there is a way to fake it for Eevee.
I played a lot with the settings last night but i cannot figure out if it is even possible with eevee.
The main reason i want that feature is to make shallow water transparency around iceberg.
I could easily do it by baking the ocean modifier to mesh and paint a transparency mask but this way i lose animation capability from the ocean modifier and other settings.
I also have another trick that could work but i have to try it later on today.
So if anyone can join the effort to found a solution please share your knowledge with us.
Here a picture of what i am after ;