How to add environmentTexture in waterMaterial's renderList?

i use an env file decoration environment like this.
scene.environmentTexture = new BABYLON.CubeTexture(“texture/environment_1.env”, scene);
How to add this in waterMaterial’s renderList ?

The water material creates its own reflection texture by rendering the meshes you push in the list by calling addToRenderList, you can’t provide a texture directly.

What you can do is creating a skybox with the texture you want to reflect on the water.

2 Likes

thanks