Reaction-diffusion in 3D
Animated
Documentation / Node reference / mat nodes
Creates a material drawing a volume as smoke, cloud or fire.
Volume
Draws a volume by marching rays through its density, for smoke, cloud and fire. The density comes from a volume attribute or a 3D texture. An optional colour attribute tints the smoke or makes it glow.
| Name | Type | What it does |
|---|---|---|
| densitySource | UInt8 ATTRIBUTE · TEXTURE | Where the density comes from. |
| texture | NodePath | The TEX node holding the 3D texture. |
| channel | UInt8 R · G · B · A | Texture channel holding the density. |
| attribute | AttributeName | Attribute holding the density. |
| colorAttribute | AttributeName | Optional vector attribute holding a colour per voxel. |
| colorFieldMode | UInt8 TINT · EMISSIVE | What the colour attribute does. |
| emissiveIntensity | Float | Glow strength, in EMISSIVE mode. |
| color | Color | Colour multiplied into every sample. |
| densityScale | Float | Multiplies the density. Higher is thicker. |
| stepSize | Float | Distance between samples. Larger is faster but bands. |
| maxSteps | UInt32 | Most samples per ray. Too few cuts the far side. |
| absorption | Float | How much light is swallowed. Higher is darker. |
| shadowSteps | UInt32 | Self shadow samples toward each light. 0 turns it off. |
| shadowDensity | Float | How strongly the density blocks light. |
| anisotropy | Float | 0 scatters evenly. Positive scatters forward, negative back. |
| powderStrength | Float | How much the thin edges darken. |
| scatterOctaves | UInt32 | Rounds of scattering. More softens the inside, at a cost. |
| saturationThreshold | Float | Opacity at which a ray stops early. |
| shadowCastMode | UInt8 OPACITY_THRESHOLD · DITHERED | How the volume casts shadows. |
| shadowOpacityThreshold | Float | Opacity at which the volume casts a shadow. |
| transparencyMode | UInt8 AUTO · OPAQUE · MASK · BLEND | A volume is always drawn transparent. |
| sides | UInt8 FRONT · BACK · BOTH | Which side of each triangle is drawn. |
Scenes you can open in the editor that teach this node.
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.