---
title: "How to Create Fog Effect in Houdini"
canonical: "https://documentation.chaos.com/space/VRAYHOUDINI/113280402/How%20to%20Create%20Fog%20Effect%20in%20Houdini"
format: markdown
---
This tutorial shows you how to create an environment fog effect in Houdini Vanilla. For information on how to simulate fog effects in Solaris, see the  How to Create Fog Effect in Solaris  tutorial. For other workflows in Houdini, see the  God Rays Effect  tutorial. Overview V-Ray offers tools for creating atmospheric effects that simulate particulate media, like fog and atmospheric dust. These effects can be confined to specific areas using geometry objects. The tools can be used in Houdini and Solaris. In this tutorial, you'll learn the workflow in Houdini Vanilla. We've designed the scene to be simple, so you can grasp the basics quickly and easily. Workflow In the |obj| network, create a geometry that should serve as a container for the fog. For example, you can create a box, and the fog will be limited inside it and have the shape of a box. In the |mat| network, create a  V-Ray Material Builder  node. Do so by right-clicking > V-Ray > Material > V-Ray Material Builder. Assign the builder node to the geometry, and then dive inside the node. Inside it, V-Ray Material (VRayMtl) and V-Ray Output nodes are created automatically. Set the  Opacity  of the VRayMtl to  0 . While still inside the V-Ray Material Builder, create a  V-Ray Fog Effect  (V-Ray EnvironmentFog) node by right-clicking > V-Ray > Effects > V-Ray Fog Effect. Plug the V-Ray Fog Effect's  volume  output socket to the  Volume  input socket of the V-Ray Output node. Tweak the settings of the fog node to your liking. See the  V-Ray Fog Effect  page for more details on what the individual fog parameters control. In essence, the  Color  parameter determines the hue of the fog when illuminated by light sources, so increasing the value of its Color Multiplier intensifies this color, making it more vibrant. The  Transparency  parameter controls the color of the volumetric shadows and the tint for the objects seen through the fog. Brighter colors in Transparency make the fog more see-through, while darker colors make it denser at a distance given by the Distance parameter. The  Emission  parameter controls the fog emission (self-illumination) and can be used to substitute the ambient illumination inside the fog, instead of using GI. You can also plug a color texture to the  color_tex  input slot of the fog node. For example, a V-Ray Checker or a V-Ray Noise texture. Fog Effect is connected to VRayMtl No texture is connected to the Fog Effect Fog Distance is set to 0.1, Transparency Color is grey Fog Effect is connected to VRayMtl No texture is connected to the Fog Effect Fog Distance is set to 0.1, Transparency Color is black Fog Effect is connected to VRayMtl Bercon Noise texture is connected to Fog Density and Fog Color Fog Distance is set to 0.0005 Fog Effect connected to VRayMtl Bercon Noise texture set to Position is connected to Fog Density Gradient texture is connected to Fog Color Fog Effect connected to VRayMtl Bercon Noise texture set to Phong is connected to Fog Density Gradient texture is connected to Fog Color