• entries
    232
  • comments
    1462
  • views
    956486

Procedural planet textures

Sign in to follow this  
Ysaneya

576 views

Not enough time, so much to do...

These last few days i've been working on generating procedural heightmaps, materials and textures for my planet renderer. All the parameters are currently hard coded and the code is very messy, but i'm starting to get interesting results:



This is the "material table". Each color encodes a different type of material (blue=water, yellow=sand, green=grass, gray=rock, white=snow, etc..). I've added some basic lighting using the input heightmap to make it easier to see the relief. This is *not* the texture that will be mapped onto the planet geometry: that one will come later and should hopefull have much more details and color variation!

The algorithm currently generates a cube map (with seamless colors between the cube faces), and handles deserts at the equator (center of first image) and ice at the poles (second image). This is for an Earth-like planet, but later planets with very different looks can be created.

Must. Sleep. Now.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

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