Galaxy Generation! — Tuesday, December 8, 2015


Hello Mjolnir fans, followers, and supporters. It’s been quite a while but we’ve got a series of great updates for you. We’ll be making a few more update posts over the course of this week following this one, each one slightly bigger than the one before.

Several months back we began exploring methods for generating the massive playable galaxy for our main project, Galaxy In Flames. We’re proud to announce that after a lot of stress testing, iterations, hard teamwork, and ingenuity are starting to finally pay off.

We had a great start with a billboard quad based compute shader driven by density map textures. With that system we were able to get up to 23,000,000 stars on screen all at once in one big visible galaxy with no seams. This system worked well but needed optimization and noise based density map texture generation. This proved to be slow and would lead to very long loading times in most cases.

From there we moved to our own Frankenstein of a solution that blends something like the billboard particle compute shader with an unconventional use of 3D textures (volumetric textures). On top of all that we made progress on a star shader with great looking plasma flows, solar flares, accurate start types per color, mass, volume and temperature, and even stars that age.

With this system we can achieve repeatable seed based procedural generated galaxies that we can store bits of as they are modified. What’s incredible is the number of permutations. 320 QUADRILLION. That’s right ~320,000,000,000,000,000!!!

What’s cool is we get star system-specific skyboxes generated along with this, and hold your breath here….

Click here to read the rest on Facebook

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top