# How can we create realistic ocean water using shaders as in this example?

**URL:** <https://forum.babylonjs.com/t/how-can-we-create-realistic-ocean-water-using-shaders-as-in-this-example/36175>\
**Category:** Questions\
**Tags:** material\
**Created:** [December 1, 2022, 2:23pm UTC](https://forum.babylonjs.com/t/how-can-we-create-realistic-ocean-water-using-shaders-as-in-this-example/36175 "2022-12-01T14:23:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![inteja](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/inteja/32/22553_2.png) [@inteja](https://forum.babylonjs.com/u/inteja)\
**Post date:** [December 1, 2022, 8:11pm UTC](https://forum.babylonjs.com/t/how-can-we-create-realistic-ocean-water-using-shaders-as-in-this-example/36175/2 "2022-12-01T20:11:31Z")

</div>

> **[Water Material | Babylon.js Documentation](https://doc.babylonjs.com/toolsAndResources/assetLibraries/materialsLibrary/waterMat)**
>
> The Babylon.js materials library water effect.

> [@Ocean node material](https://forum.babylonjs.com/t/ocean-node-material/13554/11):
>
> Don’t use your previous material because everything is lost in this one, you would have basically to redo everything! Here’s the updated PG with the updated node material in which only some connections are missing (I think they are all near the end of the graph): [https://playground.babylonjs.com/#9B0DNU#33](https://playground.babylonjs.com/#9B0DNU#33) As explained by David, the PBR block has been redesigned a bit, notably there are now a metallic and roughness inputs which were previously inputs to a Reflectivity block that does not exist…

> **[GitHub - Popov72/OceanDemo: Ocean demo in WebGPU with Babylon.js](https://github.com/Popov72/OceanDemo)**
>
> Ocean demo in WebGPU with Babylon.js. Contribute to Popov72/OceanDemo development by creating an account on GitHub.

---

_[View the full topic](https://forum.babylonjs.com/t/how-can-we-create-realistic-ocean-water-using-shaders-as-in-this-example/36175)._
