how to use noise to create a PROCEDURAL PLANET?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By huahuapro

i’m new to coding but want to create a PROCEDURAL PLANET very much, can any one tell me how to make it? i google it, here are some videos using unity, but non using Godot.

thanks very much!

What kind of procedural planet are you talking about? Something like Minecraft? Terraria? Crashlands?

Mike Trevor | 2020-04-01 09:45

The basic principals are to use perlin noise.

Merlin1846 | 2020-04-01 14:01

i want somthing like Nomansky, but smaller.

huahuapro | 2020-04-01 23:30

This guy made a very good example

https://www.youtube.com/watch?v=weOC_zpB5kA

Belin | 2022-10-13 18:16

:bust_in_silhouette: Reply From: davidoc

There is no tutorial but there are a few projects you can look up like this one:
Planet generator
Source code
If you are using the mesh sphere Godot creates it uses an equirectangular UV mapping, there is an explanation here about creating a cube map using perlin noise and converting it to equirectangular UV mapping.
I made a little test but not created the textures procedurally.

thanks, i will use : creating a cube map using perlin noise and converting it to equirectangular UV mapping

i will try.

can you show your little test code?

huahuapro | 2020-04-01 23:29

I’m still evaluating if develop it further or release the code. If I release the code will be with a video in Youtube

davidoc | 2020-04-02 00:27

:bust_in_silhouette: Reply From: JayJay99

I found this tutorial that seems to be a nice start.

Note: In the tutorial he uses a Perlin noise shader that I couldn’t find, I used this instead.