Customize Cloud Renderer

The renderer’s role is to draw based on the parameters that make up the scene, such as cloud shape, atmospheric color, and fog. By adjusting the renderer parameters, you can create a sky that adapts to various scenes. Understand how to adjust the renderer so that you can create the sky you want.

The renderer entity is a ScriptableObject. There are two types of renderers.

Physics Renderer

It is a renderer that can draw clouds close to physical behavior. It is a renderer suitable for operation in the linear color space and UniversalRP / HDRP environment. It is also designed to reduce the artifacts typical of ray marching.

Stylized Renderer

The renderer included in Massive Clouds Version 4. You can apply various effects such as applying Ramp texture. However, since the lighting calculation is not consistent, the behavior in the linear and gamma color spaces is greatly changed, and it is difficult to adjust the parameters in the HDRP lighting environment.

This section does not deal with Stylized Renderer.

Customize Physics Renderer

The built-in Physics Renderer can be found under the Renderer/Physics folder. You can also create a new Physics Renderer object.

Selecting a renderer will bring up a UI in the Inspector for adjusting renderer parameters. Here you can adjust lighting / skybox / clouds / atmospheric scattering / fog.

Lighting

AtmosPad

  • Cloud Intensity Adjustment
    • Fine-tune the effect of light hitting the clouds
  • Sun Lighting
    • The light treated as the sun is usually set automatically, but you can also set the parameters manually.
  • Moon Lighting
    • You can set the light when the sun is below the horizon. You don’t need to have a DirectionalLight in your scene. If the Transform which is treated as a moon is set, the light direction will automatically follow the Transform.
  • Ambient Lighting
    • Ambient light is also set automatically, but you may get better quality results by switching to Manual and manually setting the ambient light color according to the scene conditions.

Sky

AtmosPad

You can use the built-in procedural skybox. SkyBox drawn by Clear Flag etc. of Camera is overpainted.

AtmosPad

The HDRI environment map can be merged into the skybox. For example, you can draw the starry sky only at night to represent a realistic night sky.

Cloud

Renderer

Specify the cloud to draw. Clouds can use two layers and you can draw different clouds on each layer.

  • Main Cloud
    • This is the main cloud layer. Affects the drawing of shaft effects, god-ray effects and shadows.
  • Layered Cloud
    • This layer is for drawing the upper clouds. Does not affect shaft effect, shadows or god-ray effects.

Specify cloud profile

Apply a cloud to the layer by specifying a cloud profile. Parameters related to shading of the cloud profile can be overridden. Cloud shadows can vary greatly depending on the lighting environment, so it’s a good idea to override them to create a cloud look that matches your scene.

Scroll animation

Adjust the cloud scrolling animation. By adjusting the scroll speed and phase, you can also create a swelling sea of ​​clouds animation or a time-lapse animation.

Massive Clouds Atmos TimeLapse Demo-Unity2019.3 / HDRP

Quality setting

You can adjust the resolution for drawing clouds. Resolution has a great influence on the rendering quality and frame rate at runtime. If the resolution is doubled, the drawing load will be quadrupled. You need to make adjustments taking into consideration the GPU power of the target platform and the desired frame rate.

Atmosphere

Renderer

Adjustable Atmosphere, Screen Space Shadows, Lens Shafts, and Godrays. You can also adjust the influence of atmospheric scattering on the clouds here. Atmospheric scattering can enhance the colors of the atmosphere and the sun. It is designed to arbitrarily emphasize a particular environment, such as purple at sunrise or red at sunset.

Quality setting

Quality settings allow you to adjust the resolution, lens shaft, and godray calculation system. Atmospheric scattering has a sufficient effect even at a lower resolution, so it is recommended to set the resolution as low as possible.

Fog

Renderer

Adjust Exponential Fog with height limitation.

Coloring

The fog can not only adjust the color, but also add a scattering effect to sunlight. For example, you can use the scattering effect to create a fantastic landscape that floats in a monotone fog.