Shading a Globe

In this tutorial, we will go through the steps of creating a realistic globe and clouds using only shaders. We will add some atmosphere to the horizon with a volume and standard_volume shader. We will also light the scene using a physical_sky connected to a skydome_light light. This scene would make an ideal backdrop for a fictional film about some unfortunate astronauts, for example. Many thanks to Will MacNeil at MPC for providing the scene used for this tutorial.

The final C4D (R18) scene can be downloaded here.

The tutorial is broken up into the following stages:

Earth Shader

Clouds Shader

Atmosphere Volume

You will need to download and use these high-resolution textures for use with this scene. Remember to convert the textures to .tx format prior to rendering.

Earth Color (base_color) Earth Elevation (displace) Clouds (emission, opacity, displace) Earth Mask (specular)

Start scene containing Earth and Cloud objects

Earth Shader

Hide the Cloud object for the time being. We will focus on the Earth shader first.

Diffuse

'Earth Color' map connected to base_color of Earth standard_surface shader

Specular

Now we want to add a specular map to determine where the sea is reflective and where the land has no specularity.

Land/sea shininess determined by 'Earth Mask' texture connected to specularity of Earth shader

Displacement

The Earth's surface is looking a little bit flat. We can add some elevation to the surface using the displacement map - 'Earth Elevation'.

Earth Displacement settings

Earth terrain is being displaced using 'Earth Elevation' texture

Clouds Shader

The clouds shader is a little bit simpler to set up. We will use the clouds image and connect it to the emission, opacity, and displacement of a standard_shader.

Displacement, opacity, and emission of clouds driven by Clouds texture map

Atmosphere Volume

Finally, we will create some atmosphere, visible on the horizon, using a volume.

That concludes this tutorial on how to realistically shade a globe. Finally, why not try keyframing the rotation of the cloud and Earth to create a fake time-lapse effect or animate an astronaut plummeting to their death?