This is some real magic math art right here. I started porting these over to hlsl for use in Unity and just got them all finally working and started work on a star shader.
This is what I had so far:
…Then I see you’ve also added a star. It looks really great!
I think I’ll take a look at the star and see what kind of magic you did there. :)
Thanks again for helping me to learn a bit about glsl and hlsl
Thanks, I will give it a try too, I'm not that familiar with writing shaders, I usually create Shader Graphs in Unity, maybe I'll try to port them to that too.
I think this is the best shader out there for generating pixel art planets. Visuals are amazing!
I have one question... It is possible to convert this shader to hlsl language so i can use it in my unity project? If it's possible, then I'm allowed to use? How can i credit you?
Thank you so much for sharing this shader, I really appreciate it!
I'm not familiar with hlsl but in theory it should be possible to convert to it. I want to look into that possibility myself at one point, but if you want to give it a try, go for it.
If it is possible then you can use it however you like. And if you want to give credit you can just credit me as Deep-Fold , maybe with a link to this itch page if possible.
I have aproblem tho. when i export a planet into spritesheet and slice it in unity, it doesnt work that well. In the animation i can see that the planet is not totally round. Can you help me?
Not sure what you mean by not totally round. Do you mean that the animation of the rotation is not complete, or that the shape of the planet itself is not round?
From what I can see from your image, the thin strip on the side can be caused if the spritesheet is spliced into the wrong number of sprites. So may you could try splicing it with a different amount of frames.
Let me know if that helps, if not, I'll try and fix whatever is wrong in the generator.
Hello, its still not working. I exported and spliced it 100x100 and still it has not the same shape symmetric shape to be animated as in your generator. Maybe i can hit you on discord or something? or im doing somethint totally wrong xd
Can you add a stand-alone executable exe to the download? Right now only work in the browser on this page, or if you download the Godot engine and preview the tool. When I start with Godot and "Play", the PNG or spresheet download function is not working in this way.
Bug report: Gas Giant 1 has not been rotated when you change the slider (other planet types are work as intended).
Feature request: 1) Can we change the color palette of the planets? It will add more diversity, and create stunning, unique looklike planets like toxic, wasteland, desert, cloud only. 2) Turn off the clouds feature? Checkbox feature if the clouds not needed.
I added an exe now with the option to download images from that as well.
Also thanks for the bug report, gas giant 1 should be fixed now.
Originally this was just an exe to show off the shaders, but it kinda grew out to be a tool on it's own. So I might add those extra features at some point. For now you can change colors and disable clouds if you change the shaders in Godot.
Some color palette generator would be cool, gonnahave to look into that because I have no idea how to generate good looking colors. If you use the source you can of course apply any color you'd like.
I love this project. I read in the comments that you were thinking of adding a Star type and the ability to export one rotation to a sprite-sheet to create a seamless animation.
Just commenting that I these changes would be amazing! Currently using this to generate the solar system in an MMO I'm making with a friend, the procedural nature of this generator makes it super powerful and useful!
Glad you like it that much! I was working on another project, but I'm gonna shift some more focus to this one now. Any chance I could follow your MMO project? Sounds interesting!
Thanks for the interest! I'll think about adding a star, but not sure what an asteroid field would look like. Right now there are some other things I want to add first, so it'll have to wait anyway
For when you do get to it: Perhaps some random smaller blobs with the nice shading and lighting you have for the planetary bodies, and some small movement (like an oscillation) on the x/y axis?
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?
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.
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.
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
You could extract out the part that draws the ring into its own thing.
This is some real magic math art right here. I started porting these over to hlsl for use in Unity and just got them all finally working and started work on a star shader.
This is what I had so far:
…Then I see you’ve also added a star. It looks really great! I think I’ll take a look at the star and see what kind of magic you did there. :)
Thanks again for helping me to learn a bit about glsl and hlsl
Hey that's really cool. I like the little blobs at the edges. Thanks for sharing!
I've also been looking at porting them over to Unity, is it a lot of work porting the shaders to hlsl?
It wasn’t too bad. I didn’t know GLSL or HLSL, so it was a bit of a learning curve for me. These docs helped a lot: https://docs.microsoft.com/en-us/windows/uwp/gaming/glsl-to-hlsl-reference
Thanks, I will give it a try too, I'm not that familiar with writing shaders, I usually create Shader Graphs in Unity, maybe I'll try to port them to that too.
What sorcery is this?
What magic is this?...
i'm also a godot devloper and i got so much impressed
Thank you a lot
Shut up and take my $2.00
Thank you, I appreciate the support! Glad it's useful to you!
I think this is the best shader out there for generating pixel art planets. Visuals are amazing!
I have one question... It is possible to convert this shader to hlsl language so i can use it in my unity project? If it's possible, then I'm allowed to use? How can i credit you?
Thank you so much for sharing this shader, I really appreciate it!
Thanks!
I'm not familiar with hlsl but in theory it should be possible to convert to it. I want to look into that possibility myself at one point, but if you want to give it a try, go for it.
If it is possible then you can use it however you like. And if you want to give credit you can just credit me as Deep-Fold , maybe with a link to this itch page if possible.
Glad you like it!
Hello. Really great work!
I have aproblem tho. when i export a planet into spritesheet and slice it in unity, it doesnt work that well. In the animation i can see that the planet is not totally round. Can you help me?
Hey, thanks!
Not sure what you mean by not totally round. Do you mean that the animation of the rotation is not complete, or that the shape of the planet itself is not round?
From what I can see from your image, the thin strip on the side can be caused if the spritesheet is spliced into the wrong number of sprites. So may you could try splicing it with a different amount of frames.
Let me know if that helps, if not, I'll try and fix whatever is wrong in the generator.
Hello, its still not working. I exported and spliced it 100x100 and still it has not the same shape symmetric shape to be animated as in your generator. Maybe i can hit you on discord or something? or im doing somethint totally wrong xd
I think you need to enable 8k+ file size in import settings. Default is 2k.
Wow its an awesome tool, I really like it!
Can you add a stand-alone executable exe to the download? Right now only work in the browser on this page, or if you download the Godot engine and preview the tool. When I start with Godot and "Play", the PNG or spresheet download function is not working in this way.
Bug report: Gas Giant 1 has not been rotated when you change the slider (other planet types are work as intended).
Feature request:
1) Can we change the color palette of the planets? It will add more diversity, and create stunning, unique looklike planets like toxic, wasteland, desert, cloud only.
2) Turn off the clouds feature? Checkbox feature if the clouds not needed.
Cheers and thanks for your hard work.
Hi, glad you like it!
I added an exe now with the option to download images from that as well.
Also thanks for the bug report, gas giant 1 should be fixed now.
Originally this was just an exe to show off the shaders, but it kinda grew out to be a tool on it's own. So I might add those extra features at some point. For now you can change colors and disable clouds if you change the shaders in Godot.
Thanks for the feedback, appreciate it!
Thanks for your quick update :)
Firstly this is amazing! I was like o: when i first saw the 3rd dimension there !
well .. a more freedom would do absolutely good . like a color selector excessively palette importer/selector. Aaaaand some randomization .
But after this astonishing accomplishment , I cannot judge . Maybe i will be adding some to source ?
Thanks for the feedback, really glad you like it!
Some color palette generator would be cool, gonnahave to look into that because I have no idea how to generate good looking colors. If you use the source you can of course apply any color you'd like.
Sounds good, send me a link if you upload your shooter somewhere, I'm interested. You're in luck because spritesheet support is now added!
Cool idea, I'll look into it. No promises though.
Thanks, glad you like the updates!
These look so cool!
This is Awesome!
I love this project. I read in the comments that you were thinking of adding a Star type and the ability to export one rotation to a sprite-sheet to create a seamless animation.
Just commenting that I these changes would be amazing! Currently using this to generate the solar system in an MMO I'm making with a friend, the procedural nature of this generator makes it super powerful and useful!
Glad you like it that much! I was working on another project, but I'm gonna shift some more focus to this one now. Any chance I could follow your MMO project? Sounds interesting!
Sounds good!
Feel free to add me on discord if you want more info about our MMO!
simondtd#2055
Ah well, I don't really use discord, but good luck with the rest of your project!
Thanks! If you have another way you want to communicate feel free to drop your email or something
Hey, if you're still using this, spritesheets are now added!
I am still using it! Gonna implement them right away :) Again feel free to send me your email or something if you wanna chat about our mmo hahah
This is so AWESOME!!
Wow that is amazing
I would love to see a star (or set of stars) generator as part of this!
Also, an asteroid field would be super dope.
Thanks for the interest! I'll think about adding a star, but not sure what an asteroid field would look like. Right now there are some other things I want to add first, so it'll have to wait anyway
For when you do get to it:
Perhaps some random smaller blobs with the nice shading and lighting you have for the planetary bodies, and some small movement (like an oscillation) on the x/y axis?
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
https://kxnai.itch.io/5-free-pixel-planets
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.
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.