---
title: "Volumetric Rendering In-Depth"
canonical: "https://documentation.chaos.com/space/PHX4MAYA/126028820/Volumetric+Rendering+In-Depth"
format: markdown
---
This page provides some useful tips for rendering volumetric effects.

## **Volumetric vs Volumetric Geometry mode when rendering on the CPU**

---

The Volumetric Geometry mode is provided as an option for the following reasons:

1. Generation of Render Elements for compositing - for a complete list of the supported **Render Elements** in both Volumetric and Volumetric Geometry mode, please check the [V-Ray Render Elements Support](https://docs-chaos.atlassian.net/wiki/spaces/PHX4MAYA/pages/125963190) page.
2. Blending of multiple atmospheric effects in the scene - e.g. you use an [Aerial Perspective](https://docs.chaosgroup.com/display/VRAY4MAYA/VRayAerialPerspective) and a Phoenix Simulation - if the mode is set to Volumetric, one would be entirely behind the other in the rendered image.

Limitations:

1. The Volumetric Geometry mode does not work with [Probabilistic Volumetrics](https://docs.chaosgroup.com/display/VMAYA/Volumetrics+Overrides).
2. The Volumetric Geometry mode tends to be slower to render. Ideally, you should work in Volumetric mode all the time and switch to Volumetric Geometry only when generating the Render Element passes.
3. The Approximate and Approximate+Shadows Scattering options under Rendering → Smoke Color are not supported in Volumetric Geometry mode. It would default to Disabled scattering.
4. You may need to increase the V-Ray Settings → Overrides → Materials → Max.Transparency Levels option which will slow-down rendering. When rendering in Volumetric Geometry mode, procedural geometry made up from multiple transparent layers is generated at render-time. Think of it as sprites used in video games - a sequence of slices facing the camera.

> ✅ When rendering with **V-Ray GPU**, the Render Mode does **not** matter - Render Elements are generated and the rendering speed is the same in both the Volumetric and Volumetric Geometry modes.

 

## **AUR vs VDB Cache Format**

---

However, sparse VDB caches would help reduce the RAM usage, so they are an alternative if you don't have enough memory for rendering an AUR dense cache.

![image](media://8babe0c0-d9e9-4f3c-a6dd-42befa611d91)


![image](media://69ada07a-e917-45e0-8cef-9d060107b9fa)



 

## **Core Volumetric Shader Settings**

---

The Step % option specifies the ray marching step of the camera rays as a percentage of the cell size. As the renderer traces rays through the simulator, this value controls how often to get information from the grid. If the Step % is more than 100, some cells will be skipped and artifacts may appear. A lower percentage might be necessary so that fine details are not lost when custom changes are made to the Opacity curves for Fire / Smoke.

![image](media://67a896f8-5097-4eb0-a180-fbc76488c82b)


![image](media://f9819c94-e726-4e64-8e01-8f1f618204ae)


![image](media://f7d023ca-6db3-45ab-8e0c-aad11d89d4e0)



 

---

 

The Shadow Step % is similar to the Step % in a sense that it is responsible for the sampling quality of the volume but for the shadows cast by the volume over itself and the surrounding objects only. The higher you can set the Shadow Step %, the faster the rendering will go. Eventually the shadows will become washed out for very high values, so that is where you must stop increasing the Shadow Step %.

![image](media://874948d8-db52-4517-9889-7c6c6780e6f9)


![image](media://63f7ec95-c6b9-41d2-b584-53a90cdb5a61)


![image](media://a6adb412-00d5-4063-ab5f-dfc5a8b962c4)



 

---

 

Rendering rollout → **Sampler Type**

The **Linear** sampler will always render 20-30% faster than the **Spherical**. You should use Spherical only in case you are rendering a low-resolution simulation that shows some grid artifacts and steps, especially when looking along one of the grid axes.

 

---

 

Disable the Volume Light Cache option if:

![image](media://3601f6d3-7795-451d-a492-f1cebd239d54)


![image](media://45377146-c953-4e45-b3f4-3c3364f38436)


![image](media://04f4ad08-41f8-4e08-a6ff-2d673eead3b3)


![image](media://77e55cfb-f302-43f3-980c-ab9ad7d5ed31)



> ✅ When rendering with **V-Ray GPU**, the Volume Light Cache option is ignored entirely - the Phoenix Light Cache is a CPU-only 'hack' used to speed up CPU rendering.

 

---

 

To resolve these, increase the Max Subdivs in the V-Ray Settings window.

![image](media://156448aa-3f24-45be-bf02-beed7e0b8084)


![image](media://ae12f272-ed79-4a3a-9c1c-f379f3e43c00)


![image](media://4f7540ce-166a-40f4-ae30-1c140ed94e78)



 

---

 

If using any textures for modulating / replacing the Fire, Smoke Color or Smoke Opacity, disable them to check how the rendering speed compares. Some textures and complex texture networks can be slow to evaluate and render.

![image](media://f22cd090-a8d1-4de9-8851-bd477d716076)


![image](media://ea7f4011-6a32-4f3b-bd46-7bb7489b999a)



 

---

 

This parameter only affects the rendering speed - the quality of the rendered image is not affected.

![image](media://47a0a5fd-625a-4a6b-b702-5d63762d1222)


![image](media://fbe3b9bc-2da2-43ac-91f6-35c567aa68ae)



 

---

 

If the opacity of a voxel is below the specified value, the voxel will not be shaded at all. This option is a huge time saver for volume rendering. It should always be kept at 0.001 or higher unless the Smoke is getting cut off abruptly.

![image](media://2d0831ee-3ed2-4e6a-8a17-95ab3d0dfe68)


![image](media://194078cd-fa0c-4ff3-9c30-15bc2218fb14)


![image](media://aa491f20-cf2b-47a6-ba80-656c88233474)



 

---

 

Ray-Traced (GI only) is the more realistic setting, but it would be very slow to render with large grids using V-Ray Adv (CPU). You could use this option when:

![image](media://356840e3-08ba-4ffa-b52f-dcb76e4c4282)


![image](media://41fa6a26-2cf9-4579-b799-98f821794099)


![image](media://daf4a6c8-f1a9-474a-adee-1b35b9df0aa4)



 

---

 

If you want to get a better sense of volume for the look of the smoke, instead of increasing its opacity, you could decrease the External Scatter Mult - this would prevent light from going too deep in the smoke and you would get stronger shadows in the volume with the same opacity.

![image](media://581062e5-e31b-4e08-9273-b71be33173a8)


![image](media://338e146d-4b8d-4a3e-943a-e9255b0f49dc)


![image](media://039dd44a-77d3-42f6-bd0d-c90ce0110a0d)



 

---

 

When rendering with V-Ray GPU, the Fire Lights options are ignored entirely. Global Illumination should be enabled from the V-Ray Settings if you need the Smoke and/or the scene to be illuminated by the fire.

![image](media://9d3ae03c-c89b-4bd1-9c20-e26579f95d3a)


![image](media://42fba72a-e1f0-4d3b-9daa-11c233299f06)



 

---

 

Grid-Based Self Shadowing ignores any geometry inside the grid and shines right past it. This also applies for intersecting grids. If this behavior is undesirable, switch to Ray-Traced Self-Shadowing mode.

![image](media://9d3ae03c-c89b-4bd1-9c20-e26579f95d3a)


![image](media://d007159b-cb83-4036-a7e5-e917633c9456)



 

---

 

 

![image](media://9d3ae03c-c89b-4bd1-9c20-e26579f95d3a)


![image](media://19666f13-9413-484c-894c-0746672f7a84)


![image](media://000c773d-17a3-44b3-8608-c35f81cafa8d)


![image](media://0c1b50fa-3dda-4ca6-9b17-ad0b1b1c7403)



 

---

 

For very simple scenes, setting the Render Settings → **Overrides → Lighting → Light evaluation** drop-down to **Full evaluation** may speed up the rendering of volumetric effects.

For more information on Adaptive Lights, take a look at the [Understanding Adaptive Lights](https://www.chaosgroup.com/blog/understanding-adaptive-lights) article.

![image](media://6a952642-dc01-4fae-991c-8b671cddeae2)

## **Smoke Opacity and Probabilistic Volumetrics**

---

If V-Ray's Global Illumination is enabled, the number of GI Samples will heavily affect the render times. Both high and low values will increase the render time - you should aim to find a good value somewhere in the middle.

![image](media://bbac527a-3996-41f2-ad96-c2fec15402c7)


![image](media://2e0c77df-e3ef-481b-81bd-d90cec57a57f)



 

## **V-Ray Adv vs V-Ray GPU Rendering of Volumetric effects**

---

The following options are not supported by V-Ray GPU:

![image](media://f2726a37-5b93-47e2-9d37-5456723b2caf)


![image](media://2b090112-9f59-45ed-8d9c-2beca296dae0)