Hiding water surface inside a boat
It is just material settings, not a blueprint. To create this effect you have enable render custom depth\stencil inside your project settings first.
Then you have to enable custom depth rendering for your mesh (inside mesh properties)
And create a material like that
This material compares current stencil buffer value with the given constant (I used 25, it doesn't matter) and chooses the alpha for water between 0 and other value.
With this material as water and any static mesh you will get something like this
Until you enable custom stencil and specify stencil value greater than used in material.
To get best effect you have to separate your boat mesh to two parts: inner and outer. And enable custom depth stencil on both parts but set stencil value > 25 for inner part and < 25 for outer.
answered Mar 17 '17 at 04:37 PM
You can enable custom depth rendering to render boad to a custom depth\stencil buffer. Enable it for your boat and set stencil value to 1 for example. In water material you have to set water alpha to 0 on any pixel which has stencil == 1
answered Mar 14 '17 at 03:24 AM
Can you please show to me a BP example ?
answered Mar 16 '17 at 07:13 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here