# Create spherical Dynamic Planet ocean

**URL:** <https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [April 15, 2023, 4:14am UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923 "2023-04-15T04:14:39Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Verinince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Verinince](https://forums.unrealengine.com/u/Verinince)\
**Post date:** [April 15, 2023, 4:14am UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/1 "2023-04-15T04:14:39Z")

</div>

Is there a way I can create an ocean with waves the size of a mini planet in a spherical shape? It seems like oceanology, fluid flux and other dynamic ocean plugins with buoyancy and waves don’t support giant sphere shapes. Any ideas how I could do this? My goal is to create a mini spherical planet you can walk around upside down on with a realistic ocean with waves that reacts to your movement. I want a planet system sort of like No man’s Sky. Thanks

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 15, 2023, 7:36am UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/2 "2023-04-15T07:36:32Z")

</div>

I think you’ll find that most things ( like fog, skylight, water etc ) all assume you’re working with a flat surface 🙂

I have come across this myself.

You can get a pretty decent shader together with translucency, normals, mesh distance fields ( for foam ) and WPO ( for waves ), but you would need to do it yourself.

I have my basic planet here ( no foam or waves )

![planet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/7/b870eedd96d6c8436cc2b6df1f8e37915dee747b.gif)

---

<div class="post-metadata">

**Author:** ![Verinince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Verinince](https://forums.unrealengine.com/u/Verinince)\
**Post date:** [April 15, 2023, 4:51pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/3 "2023-04-15T16:51:15Z")

</div>

That looks very good but I need dynamics and waves that interact with the player and boats.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 15, 2023, 6:03pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/4 "2023-04-15T18:03:07Z")

</div>

Got your work cut out then… 😉

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 15, 2023, 6:50pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/5 "2023-04-15T18:50:08Z")

</div>

There are plenty of tutorials on waves and water interaction. You might have to adapt them for 360 🫠

---

<div class="post-metadata">

**Author:** ![Verinince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Verinince](https://forums.unrealengine.com/u/Verinince)\
**Post date:** [April 15, 2023, 7:08pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/6 "2023-04-15T19:08:53Z")

</div>

Do you think I would be asking here if I could simply find a tutorial on this? There are water, wave dynamic simulation tutorials but they don’t apply to custom water bodies. Like I said, ocleanology, Fluid Flux, waterline only support a flat world. I need to know another way.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 15, 2023, 7:14pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/7 "2023-04-15T19:14:26Z")

</div>

Take buoyancy. All the tutorials, will tell you to use Z, absolute world up. But, in your case you would use the normal from the planet at that point. It’s like that. An adaption.

( Same with the waves, actually ).

---

<div class="post-metadata">

**Author:** ![Verinince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Verinince](https://forums.unrealengine.com/u/Verinince)\
**Post date:** [June 24, 2023, 1:17pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/8 "2023-06-24T13:17:25Z")

</div>

I apologize I didn’t realize i received a reply here. Are you describing blueprint editing? Where is the Z indicated that you’re referring to?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 24, 2023, 1:18pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/9 "2023-06-24T13:18:26Z")

</div>

Any tutorial that usually refers to Z ( up/down ), you just have to use the planet normal.

---

<div class="post-metadata">

**Author:** ![Verinince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Verinince](https://forums.unrealengine.com/u/Verinince)\
**Post date:** [July 1, 2023, 4:57pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/10 "2023-07-01T16:57:22Z")

</div>

I’m not sure popular ocean plugins support this function.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 1, 2023, 4:59pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/11 "2023-07-01T16:59:10Z")

</div>

Plugins, no. I really meant your own adaptation of a tutorial.

---

<div class="post-metadata">

**Author:** ![script526](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@script526](https://forums.unrealengine.com/u/script526)\
**Post date:** [February 7, 2024, 7:25pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/12 "2024-02-07T19:25:01Z")

</div>

Hi guys, I made a (free) plugin specifically for this purpose: [GitHub - script526/PlanetOcean: Waves for planets and flat worlds](https://github.com/script526/PlanetOcean)

![PlanetOcean](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/3/2137094bf9c3934cadbb4e652ee6fe250561621c.gif)

---

<div class="post-metadata">

**Author:** ![script526](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@script526](https://forums.unrealengine.com/u/script526)\
**Post date:** [April 2, 2024, 8:15pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/13 "2024-04-02T20:15:36Z")

</div>

The plugin is not free anymore, here’s a post with the details and the marketplace link: [Planetary Oceans Plugin](https://forums.unrealengine.com/t/planetary-oceans-plugin/1784011)

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [April 3, 2024, 6:10am UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/14 "2024-04-03T06:10:00Z")

</div>

While in theory biasing the result of a gerstner cluster with a normal could seem like a solution, I’m fairly certain it isn’t going to work.

In short, Gerstner or Gravitational waves account for earths gravity with an assumed simplification.

Smaller planets without a moon would have completely different wave patterns than what we know or expect to be “normal”.

Smaller worlds, smaller gravitational constant.

Techincally, if you write the formula long hand you _could_ adjust and get some hypotetically accurate fluid dynamic representstions…

See this:

> **[Chapter 1. Effective Water Simulation from Physical Models](https://developer.nvidia.com/gpugems/gpugems/part-i-natural-effects/chapter-1-effective-water-simulation-physical-models)**

---

<div class="post-metadata">

**Author:** ![script526](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@script526](https://forums.unrealengine.com/u/script526)\
**Post date:** [August 15, 2024, 1:01am UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/15 "2024-08-15T01:01:28Z")

</div>

Some progress on the buoyancy update

![Unreal Engine 5 2024.08.15 - 03.14.15.02 (1)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/2/55223c51e9596e37ed1ed31d452c455b2713b58e.gif)

![Unreal Engine 5 2024.08.15 - 03.26.38.03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/b/3ebe98e7bc383812057be49d3b854ee963f268b3.gif)

---

<div class="post-metadata">

**Author:** ![script526](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@script526](https://forums.unrealengine.com/u/script526)\
**Post date:** [August 18, 2024, 4:34am UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/16 "2024-08-18T04:34:37Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/0/2c0a25964fc7fda6f0a7d0f697cac39eb7ad1ad1.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/d/3/0d31222c033cc947ed5be6852ed654f6368e5166.jpeg)

---

<div class="post-metadata">

**Author:** ![script526](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@script526](https://forums.unrealengine.com/u/script526)\
**Post date:** [August 27, 2024, 5:29pm UTC](https://forums.unrealengine.com/t/create-spherical-dynamic-planet-ocean/992923/17 "2024-08-27T17:29:23Z")

</div>

Hey guys, I’ve released an update 1.1.0, which includes:

**New features:**

- Buoyancy system
- Drivable boat (WIP)
- Voxel Plugin 2.0 buoyancy Integration
- Masking out water
- Ocean mesh generator (with different polygon density parameters)

**Fixed:**

- Consistent hash functions for waves randomization (fix for ocean ‘jittering’)
- New wave spread algorithm based on these hash functions

**Visuals:**

- Added volumetric clouds to the Buoyancy map
- Minor enhancements to the water material

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/d/fbd6b1a5ebff94846529c598e1a39d35b51a29f0.jpeg "Planetary Oceans plugin showcase - Unreal Engine 5") ](https://www.youtube.com/watch?v=UtEH35RVBW4)
