WaterMaterial transparency issue

Hi community!
As you can see in this PG https://www.babylonjs-playground.com/#S5QT94#1 there is a line and a box both covered partially with watermesh (WaterMaterial). The parts of line and box which are below the waterline aren’t visible e.g. don’t shine through the water’s surface. What needs to be done that line and box become visible similar to the ground which can bee seen even if covered by WaterMaterial?

1 Like

You must add the objects to water.addToRenderList(mesh)

Correct here:
https://www.babylonjs-playground.com/#S5QT94#2

1 Like

Thanks a lot! That worked :slight_smile: