r/proceduralgeneration • • 18d ago

Procedurally generated galaxies

55 Upvotes

11 comments sorted by

2

u/[deleted] 18d ago

Cool, but how does it work? is this in gitlab?

2

u/LqqnY 17d ago

it's the same idea space engine uses. glow simulates the glow of tiny red dwarfs and stars are sorted to nodes based on luminance. bright stars can be seen from lys away and red dwarfs can only be seen inside the galaxy. it's a personal project of mine so no gitlab.

1

u/catplaps 18d ago

Very nice! Is star generation happening on the GPU or CPU? Is everything using additive alpha blending?

3

u/LqqnY 18d ago

cpu only, runs on background threads so no hitches. yes star and glow shaders use additive blending. its not visible on the video but star shaders use realistically generated jwst psf texture.

1

u/Aware_Specialist_931 17d ago

Is this your creation?

3

u/LqqnY 17d ago

the idea is not mine. i used space engine's method to render galaxies. however the star shader and everything else is mine

1

u/DanGrizzly 17d ago

LMAO THIS LOOKS ALMOST 1:1 TO MINE, will post some links when I get home

1

u/DanGrizzly 17d ago

We should exchange ideas OP!!

2

u/LqqnY 17d ago

you can dm me whenever you want.

1

u/Wizzard_2025 17d ago

I did a similar thing for stills recently: https://youtu.be/ZgbUl08ObTA?is=USeJD4YGwmer-6VF

1

u/pslayer89 17d ago

Is it based on this by any chance?