Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    162
  • comments
    262
  • views
    167608

Procedural Galaxy

Sign in to follow this  
OrangyTang

4812 views

Ok, I promised eye candy so:


This is from a month or so ago, a procedurally generated galaxy rendered in OpenGL. No extensions - just basic texturing and vertex colours!

The background is two cloud layers (the blue and the purple) which are cellular textures. These expand from the edge outwards to give a swirling effect. Vertex colours fade these out nicely.

The arms are also cellular textures, but with the intensity reversed. These are basically a long strip bent around in a circlular arm. Again, animated via messing with the texture coords and vertex colour fade out.

The stars are all just sprites which orbit at different speeds, with random sizes. Central flares are just static geometry, and theres a (very subtle) central glow which makes the core look nice and firey.
Sign in to follow this  


3 Comments


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!