--- title: "Material Properties" url: "https://help.maxon.net/c4d/en-us/Content/html/MFOG-ID_MATERIALPROPERTIES.html" section_path: "Material Manager > Classic Materials > Classic material > Volumetric Shaders > Fog Shader > Material Properties" element_id: "MFOG" group_id: "ID_MATERIALPROPERTIES" description: "Samples defines the average number of samples that will be computed per raytracing ray. The higher this number, the greater the quality of the fog, but …" --- ## Material Properties ### Color Parameter ID: `FOGSHADER_COLOR` The color of the fog. ### Samples Parameter ID: `FOGSHADER_SAMPLES` · Range: [4..100] **Samples** defines the average number of samples that will be computed per raytracing ray. The higher this number, the greater the quality of the fog, but the longer the calculation time. > **Tip:** Start with low numbers, such as 6 or 8. Increase this value only if you get disturbing artifacts or if the detail is not high enough. After a certain point (depending on the scene), higher sample values will not produce better images. ### Volumetric Parameter ID: `FOGSHADER_VOLUMETRIC` **Volumetric** adds greatly to render time. If the option is disabled, the basic color of the fog is all pervading. Light sources will have no effect. This is normally sufficient to simulate fog in a fractal valley. With **Volumetric** enabled, all light sources will be taken into account. If the light sources cast soft shadows, and if there are objects in the beam, the objects will cast shadows in the fog. ### Frequency Parameter ID: `FOGSHADER_SCALE` · Range: [XYZ ] Increase **Frequency** for finer detail in the X, Y and Z directions. ### Type Parameter ID: `FOGSHADER_TYPE` Set **Type** to the desired falloff for the fog: Linear, Exponential or No Decrease. Linear Linear decreases the fog intensity along the Y axis of the texture axes. Exponential Exponential decreases the fog intensity along the Y axis of the texture axes. No Decrease No Decrease means constant fog density. ### Thickness Parameter ID: `FOGSHADER_THICKNESS` · Range: [0..+∞%] The lower the Thickness value, the thinner the fog. ### Decrease Parameter ID: `FOGSHADER_DECREASE` · Range: [0..+∞%] Decrease controls the volume (or depth) of the fog that is generated. ### Turbulence Parameter ID: `FOGSHADER_TURBULENCE` · Range: [0..+∞%] **Turbulence** specifies the degree of swirl within the fog (0% = no turbulence). ### Amplitude Parameter ID: `FOGSHADER_AMPLITUDE` · Range: [0..1000%] **Amplitude** specifies the average size of the rotating turbulence cells (rolling fog). ### T Frequency Parameter ID: `FOGSHADER_FREQUENCY` · Range: [0..+∞%] T Frequency controls the speed of the swirling fog (0% = no movement). ![Image: 004505.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/004505.jpg)