Shading a Globe tutorial

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 a Standard Volume shader. We will also light the scene using a physical_sky connected to a skydome_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 scene file can be downloaded here.

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

The tutorial is broken up into the following stages:

Begin by opening the start scene. This scene contains an object called Earth* and Cloud*. We will apply the respective shaders to these two objects.

Start scene containing Earth, Cloud and Atmosphere objects

Physical_sky -> Background

Earth Shader

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

Diffuse

'Earth Color' map -> 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

The final shader network for the Earth surface should look like the following image:

Final Earth shader network

Clouds Shader

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

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

Using a Volume for the Atmosphere

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

Atmosphere rendered as 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?