How to create underwater terrain

How to create underwater terrain?

Hi 11126,

Welcome to Babylon! The question is very broad, so I hope others will jump in as well with things they think are interesting. As a starting point, though, @PirateJC has made two different demos which I think might apply to different interpretations of your question.

If you’re asking about procedural generation, check out this demo using the diamond-square algorithm to generate terrains that include both over- and underwater sections:

https://playground.babylonjs.com/#8R809X#0

If you’re asking about how to construct a scene that looks like it’s underwater, we have another awesome demo for that!

https://playground.babylonjs.com/#LPTLZM

This second demo was actually the subject of an in-depth tutorial series on our YouTube channel last year; so if you really want to go deep learning how to make an underwater scene, this playlist will take you step-by-step through the process of creating the demo linked to above.

Mystery Demo Tutorial Series - YouTube

Hope this helps, and best of luck!

4 Likes

thank you,It is very helpful for me.