See in this playground (https://www.babylonjs-playground.com/#1SLLOJ#616), if I set a contrast different from 1, the waterMaterial become visible behind the fog.
This is because the water material does not write content in linear mode. Only standard and PBR material can do it.
Pinging @julien-moreau to see if he wants to add it to his material
The relevant code is here:
Do you think what @Deltakosh suggest is doable?
Hey @PichouPichou !
Sure it is doable, will update ASAP
I’m finalizing a request feature on the editor to release ASAP. Then, will update the water material
Will let you know once done!
Still in my TODO, will find some time really soon!!
Haha, thanks to keep us in touch @julien-moreau !