# Procedural Textures For Planets

**URL:** <https://forum.babylonjs.com/t/procedural-textures-for-planets/15331>\
**Category:** Questions\
**Tags:** material\
**Created:** [November 1, 2020, 5:11am UTC](https://forum.babylonjs.com/t/procedural-textures-for-planets/15331 "2020-11-01T05:11:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hasnain\_Koser](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/hasnain_koser/32/11835_2.png) [@Hasnain\_Koser](https://forum.babylonjs.com/u/Hasnain_Koser)\
**Post date:** [November 1, 2020, 5:11am UTC](https://forum.babylonjs.com/t/procedural-textures-for-planets/15331/1 "2020-11-01T05:11:13Z")

</div>

I am creating a real-life model of the solar system. I would like to texture my planets with procedural textures, I tried to use the Noise procedural texture but was not able to set the colours and get the desired result, while I also tried to use the cloud procedural texture which makes my planet look quite less earth-like and renders the same every time. Is there a way to generate random earth-like planet procedural textures?

something possibly like this - [Planet Demo](https://www.babylonjs.com/demos/planet/)

Thanks in Advance!!

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [November 2, 2020, 12:13am UTC](https://forum.babylonjs.com/t/procedural-textures-for-planets/15331/2 "2020-11-02T00:13:56Z")

</div>

Well, the demo you linked is done with Babylon, so you can simply get the source code and start from there.

You can find the project here: [Website/build/Demos/Planet at master · BabylonJS/Website · GitHub](https://github.com/BabylonJS/Website/tree/master/build/Demos/Planet)

---

<div class="post-metadata">

**Author:** ![Vortex](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vortex/32/26844_2.png) [@Vortex](https://forum.babylonjs.com/u/Vortex)\
**Post date:** [March 18, 2022, 2:34pm UTC](https://forum.babylonjs.com/t/procedural-textures-for-planets/15331/3 "2022-03-18T14:34:26Z")

</div>

@Hasnain_Koser, @Evgeni_Popov,

While this is kind of old, I just found this and it is awesome. You just saved me like 100 hours of work. I was originally going to try and implement some of procedural planet generation from C#/Unity (see [this](https://forum.babylonjs.com/t/28452) forum thread) in my [game](https://a.drvortex.dev). Thanks so much for making this!!!
