A showcase of some shader code for Godot game engine. Currently there are 8 types of planets available, but each type has a lot of possible variation.

Drag your mouse around the planet to change the lighting.

Exporting to .png might still require you to manually scale the image afterwards if you want pixel perfect sized sprites.

If you want to use this for yourself you can download the source for the shader code. Lots more options for variations are available in the source.

Source on Github: https://github.com/Deep-Fold/PixelPlanets 

Available under MIT license. Credit is appreciated, but not required.

Updated 2 days ago
Published 9 days ago
Tags2D, Generator, godot, Pixel Art, planet, planets, shader, Space


Download NowName your own price

Click download now to get access to the following files:

PixelPlanetsSource.zip 139 kB
WindowsExecutable.zip 13 MB

Development log


Log in with itch.io to leave a comment.

Is it possible to add a sprite sheet or gif exporter?

Not yet, but that's something I'm gonna try to add for the next update.

Hey, my antivirus alerted me when I opened the program. I wanted to make sure it's safe to use, I don't want to put my computer at risk, but I wanted to use the program because it seems to be fun and useful :)


Hi. That's weird, there's nothing shady in there, you can look at the source if you want to confirm. Maybe a false positive, what antivirus are you using?

I use Avast Antivirus, but I feel I can trust the download, thanks anyway for replying =)

This is really fun to tinker with, great work!


This is really great. I would love to see and export that exports a whole rotation, so you already can create a animation out of it.

I'll have to think about how to do that programmatically, but I'm gonna give it a shot.

Would I be allowed to take some random planets that I think look cool and upload them as a free asset pack and credit you completely? I understand if you say no. 

Sounds good! Send me a link when you finish it, I'm interested.

ok! Thanks

Also, I am going to post this on my 2d asset acount


Here is the link. If you want me to add anything please let me know

Looks nice. Thanks for the credits!

This is sick ! Love it !

wow, amazing stuff

Can you recreate it in unity? I am very interested in hiring you for this!

Unfortunately, I really don't know anything about unity.  You're probably better off looking for someone more familiar with unity shaders. I also recently added an export function which works if you're fine with static png images.

Please make easter egg on "42" generation :D

This is a great tool! I was wondering if there is any way to convert the code to GML for Gamemaker 2.

Thanks! I don't know too much about Gamemaker, but it seems like it has options for GLSL shaders, which are very similar to Godot shaders.

It is awesome! Could I use this in one of my games? I promise to give you credit! Plus it will be open-source!

Go ahead! I would be interested in seeing your game once it's finished.

The seed-input would be a great way to implement some eastereggs hehe :D Great work!

Cool idea, gonna have to think of some good ones.

if you made 4 a deathstar, it would be cool. Maybe for a lava planet? ( May the 4th be with you)


This is epic, I really like it!


Incredible, was looking for something like this.