The VolumeObject shader is a special shader designed to be used with the VolumeObject entity.
VolumeObject Shader Properties
The VolumeObject requires the VolumeObject shader in order to render. A basic example material can be found in
materials/clouds/volumeobject.mtl or you can create one with your own settings.
Defines color for shadowed areas of the the volume object. It's modulated with the current sky color.
Defines color for directly lit areas of the volume object. It's modulated with the current sun color.
Although some parameters are exposed on a material level, most visual changes are done through Time of Day.
|Alpha saturation of the cloud texture.|
|Attenuation of the light scattered through the cloud.|
|Multiplier for the Sky Color.|
|Step size through the cloud texture.|
|Multiplier for the Sun Color.|
Shader Generation Parameters
Volume objects expose the following shader generation parameters via the Shader Generation Params section inside the Material editor.
Shader Gen Param
Enables soft intersections with (opaque) scene geometry. Consider enabling this feature only for volume objects that need it due to increased pixel shading cost.
Enables back lighting of volume objects. The silhouette will slightly glow when viewed against the sun.
Softens the effect of jittering on volume objects.