Planetary environment
The Planetary environment is a flexible Nishita sky model. It is useful when rendering scenes set in outer space. For its effects to be visible, the camera has to have a very high altitude as it moves to outer space to view the expansive horizon of the planetary body. It takes into account the conditions within and beyond the atmosphere of a planetary body and its surroundings in space. Instead of a single ground color and a sky or sunset color, there is a planetary surface that reflects and emits light. This node extends the environment's medium (volume rendering and subsurface scattering) with an atmospheric scattering through the planetary body's atmosphere. Here, the atmosphere is perceived as a layer of gas surrounding a planetary mass. It is held in place because of gravity, so as the light travels into atmosphere either from the outer layer to the ground or from a light source within the atmosphere, then the atmosphere's density is sampled along the ray at regular intervals, resulting in an amount of scattering based on the atmosphere's density. This atmospheric scattering is based on the Nishita Sky model, which displays the variations of color that are optical effects caused by the particles in the atmosphere (Figure 1).
Figure 1: An object rendered at a Camera altitude of 100,000
Figure 2: Planetary environment parameters
This environment is not connected to the camera, so you can zoom the camera in and out of the scene without affecting the environment's position in the scene. It gathers optical depth (transmittance) from the sun position, so if the sun position is greater than 0.0f on the Y-axis (upward direction), then it will be colored. If you put it below the horizon (less than 0.0f on the T-axis), then it won't gather transmittance, making it invisible.
You can access the Planetary environment from the World tab, and the settings are located in the Environment rollout. Alternatively, you can also view the node setup in the Shader Editor with Shader Type set to World instead of Object.
Parameters
- Environment - Choose lighting type.
- Daylight Environment
- Planetary Environment
- Texture Environment
- Environment Switch
- Sun Direction - The Sun’s X, Y, and Z direction, which is enabled for the Sun Direction daylight type. You can edit it by clicking and dragging on the Sphere icon (Figure 2). If a Sun Direction node is connected to the Daylight environment, the Sphere icon will not be available and the sun direction is controlled by Latitude, Longitude, Month, Day, Local Time, and GMT Offset (Figure 3).
- Longitude/Latitude - Get realistic sun settings for the specified geographic location.
- Month/Day/GMT Offset/Local Time - These parameters can accurately place the sun in the sky according to the date/time for the sun at the current longitude/latitude.
Figure 3: The Sun Direction Sphere icon
Figure 4: Using a Sun Direction node to control the sun's placement
- Sky Turbidity - Adjusts the sunlight shadow's sharpness. Low values create sharp shadows similar to a sunny day, and higher values diffuse the shadows similar to a cloudy day.
- Power - Adjusts the overall strength of the Planetary Environment's illumination.
- Sun Intensity - Scale factor that is applied to the sun only, used to adjust the relative power of the sun compared to the sky. Note: Values other than 1.0 can produce unrealistic results.
- North Offset - Adjusts the scene's actual North direction. This is useful for architecture visualization to ensure the sun's direction is accurate to the scene.
- Sun Size - Controls the size of the sun given as a factor of the actual sun diameter.
- Altitude - The camera's altitude. Set this to a very high value in order to view the expansive horizon of the planetary body.
- Star Field - A Texture that conveys star fields behind the planet.
- Importance Sampling - This toggles the Sky texture's importance sampling, similar to the Texture environment's importance sampling.
- Cast Photons - If photon mapping is used, this will cast photons from bright areas in the environment map.
- Medium - This parameter accepts an Absorption, Scattering, or Volume medium node to create volume/fog effects across the scene. For more information, see the Volume Fog Effects topic under the Effects Overview category in this manual.
- Medium Radius - Adjusts the medium's scale.
- Medium Light Pass mask - Enables or disables lights on the scattering environment medium.
- Latitude - The latitude coordinate of the camera's current position.
- Longitude - The longitude coordinate of the camera's current position.
Planetary Surface
- Ground Albedo - The planet's surface Texture map.
- Ground Reflection - The planet's specular Texture map.
- Ground Glossiness - The planetary glossiness.
- Ground Emission - The planet's surface Texture map at nighttime.
- Ground Normal Map - The planet's Normal map.
- Ground Elevation - The planet's Elevation map.
Visible Environment
- Backplate - Uses the Visible environment as a backplate image.
- Reflections - The Visible environment overrides the Normal environment when calculating reflections for Specular and Glossy materials.
- Refractions - The Visible environment overrides the Normal environment when calculating refractions for Specular materials.