---
title: "Getting Started with Volumes in V-Ray"
canonical: "https://documentation.chaos.com/space/VBLD/1497071956/Getting+Started+with+Volumes+in+V-Ray"
format: markdown
---
This page provides a starting point for rendering volumes with V-Ray for Blender.


## **Overview**

---

V-Ray renders smoke, fire, clouds, and other volumes from OpenVDB data. Bring the data into Blender as a [Volume object](https://docs.blender.org/manual/en/latest/modeling/volumes/introduction.html), or simulate it with a [Blender gas simulation](https://docs.blender.org/manual/en/latest/physics/fluid/introduction.html). 

V-Ray renders two kinds of objects as volumes:

- Volume objects –  Their grids can come from an OpenVDB file, an OpenVDB file sequence, a packed file, or modifiers such as **Mesh to Volume** and **Volume Displace**. Volumes made with Geometry Nodes work the same way.
- Gas domains – The density, flame, heat, temperature, color, and velocity grids of the simulation cache are used. The domain mesh itself does not render as a surface.

When a Volume object reads an OpenVDB file and has no active modifiers, V-Ray reads that file directly. In every other case, V-Ray writes the grids to a temporary .vdb file, or streams a packed file to itself. The temporary files are rewritten only when the volume or the frame changes, so interactive rendering remains fast.

The V-Ray Node Editor’s Shader Node Tree provides a set of [Volume nodes](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/1497596118) that shade the volume and allow it to be edited and rendered within V-Ray for Blender. The Volume object’s motion blur and velocity can be adjusted from the [V-Ray Rendering rollout](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/1497399963).

Volume Objects can be assigned properties from the [V-Ray Object Properties Tab](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/908722331).

> ⚠️ V-Ray loads only Float and Vector grids. Other grid types are skipped, and their names are reported as a warning.


## **Workflow**

---


- Volume data can be imported as *.vdb *files or generated within Blender. In this case, we import a *.vdb *file that is generated beforehand.
- While the new Volume object is selected, open the [V-Ray Node Editor](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/117639212). Switch to the **Shader** Node Tree and click **New**. This creates a new V-Ray [Volume Shader node](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/1496875525) with an already connected [Volume Float Sampler](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/1496875498). By default, the Float Sampler reads the **density **grid from the volume.
- Another Sampler node is the [Volume Color Sampler](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/1497170689). The Color Sampler outputs **color **data to the Volume Shader, while the Float Sampler outputs **float** data to the Volume Shader. These nodes work only with the Volume Shader node.
- Keep in mind that any changes to the look of the Volume are not reflected with Solid Viewport Shading. Material Preview needs to be enabled to see the V-Ray changes.
- When a Color Sampler node is connected as a texture, it can be blended with the assigned color value using the slider on the Volume Shader node.
- To adjust the motion blur and velocity of the volume, we can use the **Render** rollout. It is located under the **Data Properties** tab, while the Volume object is selected.


  

## **Properties**

---


- For a detailed list of the available properties of the **Volume Shader**, see the [Volume Shader](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/1496875525) page.
- For a detailed list of the available properties of the **Volume Color Sampler**, see the [Volume Color Sampler](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/1497170689) page.
- For a detailed list of the available properties of the **Volume Float Sampler**, see the [Volume Float Sampler](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/1496875498) page.
- For a detailed list of the available properties of the **Volume Render Tab**, see the [Volume Render Tab](https://docs-chaos.atlassian.net/wiki/spaces/VBLD/pages/1497399963) page.