Volumetric Lighting Maya
Light Fog lets you simulate volumetric lighting by creating a fog effect within the light's beam. You can add a fog effect to Point, Spot, and Volume lights. There are three types of fog in Maya: Light, Environment, and Volume. Under the Light Effects section of the light's Attribute Editor, click the Light Fog checkerboard button. By default, Maya creates and loads a Light Fog node. To change Light Fog to Environment Fog or Volume Fog, open the Hypershade (choose Window * Rendering Editors * Hypershade). Scroll down the Create Maya Nodes list and twirl down the Volumetric section. You can create a new node by clicking Env Fog or Volume Fog and then apply it to your light's Light Fog attribute. (MM drag the fog node from the Hypershade to the Light Fog attribute.)
All lights allow you to alter the intensity of the fog in the Attribute Editor. Fog Intensity controls how bright and dense your fog appears. Spot lights allow you to change Fog Spread and Fog Intensity. Fog Spread controls how the fog decreases its intensity as the distance increases from the light source. See Figures 11.20 and 11.21 for examples of Fog Spread and Fog Intensity.
Point lights handle fog attributes a bit differently than they handle Spot lights. Point lights give you control of Fog Type, Fog Radius, and Fog Intensity. The three fog types— Normal, Linear, and Exponential—control the intensity falloff for the fog. Figure 11.22 illustrates these fog types. Normal allows the fog intensity to remain constant regardless of the distance. The Linear option decreases the fog intensity as the distance from the light source Figure 11.20 increases, and the Exponential setting decreases the fog intensity as the distance increases
Examples of various exponentially. The Fog Radius attribute controls the size of the fog spherical volume.
Fog Spread values

Figure 11.21
Examples of various Fog Intensity values
Figure 11.21
Examples of various Fog Intensity values
Figure 11.22
Examples of the three types of fog available for Point lights
Figure 11.22
Examples of the three types of fog available for Point lights
Post a comment