Procedural terrain on GPU

I moved the procedural terrain generator to the GPU. The speedup is incredible 100-200 TIMES! Instead of generating elevation map and color map pixel-by-pixel on CPU, this work is now performed by special shaders. The first shader computes a mix of multi-octave noises (Perlin and...

First procedural terrain

This is the first attempt to make a procedural terrain. The same quadtree-based terrain engine is used as before. But instead of loading pieces of pre-processed planet texture from the disk, the engine generates textures programmatically (on CPU). The first step is calculating a multi-octave...

Clouds

I experimenting with clouds. I downloaded a giant (43200x21600) texture of the cloud coverage of the Earth. The texture is static, so don't ask for animation :) The clouds themselves are rendered as a spherical layer around the planet, at an altitude of 5 km...

New atmosphere for Titan

I tried to make the atmosphere of Titan by changing the parameters of the model. It looks somewhat similar when viewed from space and from the upper layers of the atmosphere, although the real orange color could not be obtained. And, of course, no thick...

New atmosphere

I replaced old O`Niel's atmosphere to a new one based on Eric Bruneton's Precomputed atmospheric scattering. ...

Procedural stars update

After a month of hard work, the procedural stars became more or less decent. Implementation details Hierarchical octal tree, 10 levels, nodes of level 0 contains the brightest stars, level 1 - weaker stars, ...

Phobos and Deimos

Attempt to make 3D models for rogue-shaped moons of Mars. This is not really a 3D models, this is a regular SE "planet" with a regular cubemap texture and elevation map, but elevation amplitude is very big. The elevation map is 16-bit and defines a...

Eclipse shadows

Implemented eclipse shadows. They are analytically calculated in the planet surface fragment shader. View from the eclipsed body: ...

Mulitple light sources

Three suns illuminating Saturn (just for a test): Light source can be local. This one looks like a nuclear explosion near Saturn: Mulitple lights are needed not only binary and multople star systems, but for illumination of moons and planets by each others: This is the Moon illuminated...