To apply a volume shader to a scene, using RiSpec, a call must be assigned following the WorldBegin tag within the .rib file - Figure 04.
To test the capabilities of the fog shader, the distance parameter is keyframed over the course of the sequence.
This results in the fading in and out of the fog shader's influence in Figure 02.
The result displays how even the simple volume shader can have a strong influence on the scene.
|
|
Figure 04: RiSpec Volume Shader Call in .rib |