[Community Project] FREE Ocean Water Shader

Hello Everyone,

The transparency of the ocean is not working in VR mode. Depending on where you look in VR, sometimes you see the ocean transparency but most of the time you do not. I am currently using Instanced Stereo mode with regular deferred shading. Just wanted to see if anyone can replicate this issue with the ocean in VR and provide some possible solutions to try out?

Thank you,

Kevin

UPDATE:

I fixed the issue. I noticed that the water blast particle effect from the Unreal Marketplace “Paragon Twinblast” assets caused the ocean transparency to work in VR when played (but after particle effect completion, the water loses transparency again). So, I narrowed down the exact effect within the water blast particle effect called “Masked”, deleted all other effects around it (e.g. water droplets, etc.), set the opacity of “Masked” to 0, and play the effect in front of my player every 0.05 seconds.

This solution somehow causes Unreal Engine to update the transparency of the ocean in VR. The effect has to be played in the view of the player. It’s a super hack but it works for now. Hope this helps someone using the ocean plugin in VR.

Finally, it seems that you also need to disabled SSR inside your BP_Ocean in order for this to work.