©BBB3viz

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Table of Contents

This quick tutorial shows how to create God Rays effect in V-Ray using the Environment Fog feature.

Overview



God rays is a volumetric effect, often used by 3D artists to achieve a more dramatic effect to a 3D scene. This effect is caused when directly-pointed light (such as a sun) passes through dusty or foggy atmosphere.



 

Creating God Rays in 3ds Max



To create God Rays effect in V-Ray for 3ds Max, follow the steps below.

Video tutorial can be found here.
Example scene can be downloaded from here.

  1. Create a camera, e.g., V-Ray Physical Cam.

  2. Create a light, e.g., V-Ray Sun.

  3. Add a VRayEnvironmentFog effect from: Rendering menu > Environment Atmosphere rollout > Add button > VrayEnvironmentFog



 


At this point, Environment Fog should be visible in the rendered image. To achieve a more convincing effect, adjust the Fog ColorFog Distance, and Fog Height parameters accordingly. 

Fog Distance and Fog Height parameters operate in Scene Units. For easier setup, it is recommended to know the size/scale of the scene.




4. The fog color parameter determines the color of the fog.



5. The fog distance parameter controls the fog density. Larger values make it more transparent, whereas smaller values make it more dense.


6. The fog height parameter determines the height of the fog.


When multiple lights are present in the scene but you want only some of them to be responsible for the god rays effect, you can include or exclude light sources by disabling the Use all lights option in the VrayEnvironmentFog nodes rollout and clicking on the Add button.



For a more realistic effect, set the fog height to be higher than the position of the camera, and if the scene allows, set it to cover any visible part of the scene.