volume_fog_base
A volume_fog_base material is used to to create fog, haze or mist that hides objects behind it. It is applied to Volume box and Volume spheres.
States
In the States tab you can set rendering passes and available options. Enabling some of the states activates additional textures and parameters in the Textures and Parameters tabs respectively.
For this material the states contain only Options field.
All the options can be either enabled or disabled by ticking the respective boxes.
All the states can be set to default ones - click a Set to parent button near the state (if the state is different from the default one, its field will be highlighted with green).
The states available for this kind of materials are listed below.
Options
GUI name | XML name | Description |
---|---|---|
Noise | noise | Specifies if the fog is rendered with the noise effect and a base noise texture will be available for the material. |
Falloff | height | Specifies if the fog fades out to the top of its volume. |
Multisample | multisample | Specifies if a multisample shading is enabled. |
Textures
In the Textures tab of the Materials Editor you can:
- Load the textures - click a Load button near the texture and specify the path to the texture or type the path in the texture field manually
- Open the view window to see texture's details - click a View button near the texture
- Set the current texture to default one - click a Set to parent button near the texture (if the texture is different from the default one, its field will be highlighted with green)
The textures available for this kind of materials are listed below.
Base
Parameters
In the Parameters tab you can set or modify base and additional parameters.
Parameters of different types are set in different ways:
- expression - vector values can be set either in the field near the parameter or in the dialog window opened when double clicking this field
- slider - the value can be set either by smoothly moving the slider of the scroll box or manually in the box near the parameter (if required, the value bigger than maximum one for the slider can be set)
- color - the color can be chosen in the dialog window, activated after double clicking the color field
All the parameters can be set to default ones - click a Set to parent button near the parameter (if the parameter is different from the default one, its field will be highlighted with green).
The parameters available for this kind of materials are listed below.
Shading Parameters
Shading parameters are modified in the Shading field of the Parameters tab.
GUI name | XML name | Type | Description |
---|---|---|---|
Diffuse | diffuse_color | color |
A color picker to choose the color of the diffuse map. |
Density Parameters
Falloff parameter is present only if a Falloffoption is enabled in theStates tab. Density parameters are modified in the Density field of the Parameters tab.
GUI name | XML name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Power | volume_power | slider | Specifies if the fog density falls of to the edges of the volume box. If a Falloff option is enabled, it also affects the density.
|
||||||||
Multiplier | volume_density | slider | A coefficient to scale a density of the fog. This value affects visibility of objects inside the fog:
|
||||||||
Falloff | height_falloff | slider | A coefficient to specify the way the fog fades out to the top of its volume.
By the minimum value of
0.001, the fog will be distributed almost evenly along the height.
By higher values, the fog is rendered only at the bottom.
|
Noise parameters
Noise parameters are present only if Noiseoption is enabled in theStates tab and are modified in the Noise field of the Parameters tab.
GUI name | XML name | Type | Description | ||||
---|---|---|---|---|---|---|---|
Scale | noise_scale | slider | Amount of noise:
|
||||
Transform | noise_transform | expression | Z coordinate transformation for the noise texture. |