Common Volumetric material attributes

 
 
 

The following attributes are common to the Environment Fog and Light fog Volumetric materials:

Matte Opacity

You can control the mask value for individual objects. See Matte Opacity.

Matt Opacity attributes are available for Anisotropic, Blinn, Lambert, Layered Shader, Phong, PhongE, Shading Map and Use Background material types.

Matte Opacity Mode

Click to display the three Matte Opacity Modes from the drop-down list.

Opacity Gain

Default Matte Opacity Mode. The Opacity Gain value is used as a gain control on the usual matte value contribution of a material.

A matte channel is first calculated this way— a value of 1.0 for an opaque surface completely covers a pixel, less if it covers part of a pixel. The value is reduced appropriately for transparent objects, and then multiplied by the specified Matte Opacity value.

The Matte Opacity Mode value is also keyable. The Opacity Gain range is from completely transparent to no effect (rendered as usual).

Solid Matte

Makes the value of the matte channel constant for all pixels covered by these surfaces. The value you specify in the Matte Opacity slider is used.

Black Hole

The matte channel for all pixels covered by the object is set to 0 (fully transparent), even if the object is transparent, and regardless of what is behind the object if it is transparent. This creates a black hole where the object is in the image, to knock out the matte. In this mode, the Matte Opacity slider is disabled and its value ignored.

Note

For the Opacity Gain and Solid Matte modes, if an object has non-zero Transparency, objects behind it makes their usual contribution to the matte channel’s values. This is the difference between setting Matte Opacity to 0.0 in these modes, and choosing the Black Hole mode.

Matte Opacity

This value behaves in different ways based on which Matte Opacity Mode is selected (Opacity Gain or Solid Matte).

For example, for the Opacity Gain mode, the Matte Opacity slider value indicates the transparent multiplier amount for the alpha channel. The default is 1, which means that any opaque object registers a full alpha value.

If the Matte Opacity value is 1, a 0 alpha value is registered. Any values between 0 and 1 act as a multiplier to the alpha channel value to arrive at a new alpha value.