I would like to create God rays, where sunlight comes through a window. I have been able to achieve this using Vray Environment Fog in the render globals, and a Maya spotlight. This has two disadvantages,
1) if I add any other lights to the scene they also are affected by the fog, which is undesirable. In Max you can include a list of lights that affect the volume when "Use all lights" is off. I do not see this in the Maya implementation.
2) Sun rays are paralell, and so a directional light would be preferable over the inaccurate cone shape of a spot light. However applying fog to a directional light is very costly. In Mental ray one can reduce this my confining the fog area to a bounding box so there is not an infinite calculation. Is there a way to improve the efficiency of the shader here?
I saw in the Max version that one can use "gizmos" but again, I do not see anything about this in the Maya Vray documentation.
There are other fog shaders in the Vray volume section, which are all undocumented. Would any of these be preferable to use in this case? One of them I recall had an icon of a fog spotlight, but I could figure out how to use it...
1) if I add any other lights to the scene they also are affected by the fog, which is undesirable. In Max you can include a list of lights that affect the volume when "Use all lights" is off. I do not see this in the Maya implementation.
2) Sun rays are paralell, and so a directional light would be preferable over the inaccurate cone shape of a spot light. However applying fog to a directional light is very costly. In Mental ray one can reduce this my confining the fog area to a bounding box so there is not an infinite calculation. Is there a way to improve the efficiency of the shader here?
I saw in the Max version that one can use "gizmos" but again, I do not see anything about this in the Maya Vray documentation.
There are other fog shaders in the Vray volume section, which are all undocumented. Would any of these be preferable to use in this case? One of them I recall had an icon of a fog spotlight, but I could figure out how to use it...
Comment