In this tutorial, we will go through how to setup and use the volume_sample_float shader to adjust the color temperature effect of an OpenVDB file.
A tutorial on how to write volumes to OpenVDB from Houdini can be found here.
Start off by downloading a VDB file such as the explosion.vdb or fire.vbd file, for example, from the OpenVDB download page.
Create an Arnold Volume - Plugins > C4DtoA > Arnold Volume.
Select the .vdb volume in the File path attribute.
Create a Point light and position it outside of the volume.
We can use a Volume Sample Float shader to control the appearance of the fire volume effect. This shader will remap the values of the 3D voxel grid in the same manner as tone-mapping and remapping filters to an image in Photoshop, which operates in a 2D grid.
We can use the volume_sample_float shader to alter the appearance of the smoke and fire. The following images show different adjustment attributes and their effect on the volume.
![]() |
![]() |
![]() |
1 | 2 | 3 |
![]() |
![]() |
![]() |
0.92 | 0.95 | 0.97 |
![]() |
![]() |
![]() |
0.1 | 0.2 | 0.3 |
![]() |
![]() |
![]() |
0.5 | 0.6 | 0.7 |