4.26 water masking

Hello good people:) I have a very specific question about masking the inside parts of boats and ships in the new 4.26 water system - it seams the legacy workflow using distance filed meshes for masking isn’t working for me at least inside 4.26 - is there a way to mask the water in such way or i need to stick to the old water system for now?
Thanks in advance!