Applying a Volumic Light Property
 
 
 

You can create volumic lights using volume shaders, but a simpler method is to apply a volumic property to your light. The volumic property is also applied at the scene level and it can be easily activated to create simple scene atmospherics (as described in Creating Depth Fading with a Volumic Property).

This scene uses a single volumic spotlight with Shards. The Force Volumic Shadows parameter is on, thereby making the leaf block some of the volumic light.

To create a volumic light property

  1. Select an existing light or create a new one (Get Primitive light).

  2. Make sure the light shader (soft_light by default) has Light Attenuation Light Falloff enabled.

  3. From the Render toolbar, choose Get Property Volumic. The Volumic Light Property Editor opens.

  4. On the Volumic tab, the principle parameter to edit when defining a volumic light is Map Size, which determines the depth map resolution of the effect.

    If the objects the volumic light is crossing are simple, the map volume can be set very low (100 to 200). But if the objects in the light's path are complex, such as very sharp edges, you need to increase the Map Size value to pick up more of the object's shape detail, creating a better volumic effect. Note that increasing the Map Size value slows rendering.

  5. Adjust the Reflectance parameter to simulate the volume's reflectivity. A low value (0.5) simulates a volumic effect with low reflectivity, such as dust. A higher value (greater than 2) creates a reflective volume, such as dense smoke.

  6. You can set the distance from the light source at which the volumic effect begins by using the Min Distance slider.

  7. Select Force Volume Shadows to force the rendering of shadows for the volumic effect.

    • When this option is off, volumic lights appear to go through objects.

    • When this option is on, objects occlude volumic lights and cause shadows.

  8. To make the volumic effect have a transparent quality, select Transparent.

  9. On the Shards tab, set the volumic light's shard parameters. They are off by default. You can activate shards, set their intensity, complexity, and resolution.

Creating Depth Fading with a Volumic Property

Depth fading, sometimes called fog or atmospherics, adds an element of realism to a scene by creating a sense of depth by adding a layer of ambient-like color (usually black or gray) in relation to an object's distance from the camera. There are two basic ways to create depth fading in a scene: by applying a volumic light property or by applying a volume shader.

Below, the scene is without depth fading (top image), and with a depth fading effect (bottom image). The fade color is set to black with no transparency. Notice how the spheres appear to be less visible over distance.

To create depth-fading

  1. Select a light in the scene that you want to make volumic.

  2. From the Render toolbar, choose Get Property Volumic. This applies a volumic property to the selected light as well as to the scene.

  3. Defined the light's volumic properties.

  4. In the explorer, set its scope to Scene Root and click the Volumic Properties icon (below the Scene_Root) to open the Volumic Scene Property Editor.

  5. On the Depth Fading tab, select the Enabled checkbox to activate the depth fading effect and define the Start and End Distance, the Transparency, and the fade color.