Compositing node
Volume
Ray-marched fog, smoke and cloud over an image, using the Render 3D camera and depth, with its own camera when none is connected. Long controls fold behind show more.

What it does
Volume is a compositing node: it layers, masks and routes pictures. It takes picture in and gives picture out.
Try it
Put fog behind a lit 3D scene for depth.
Inputs and outputs
Inputs
- picture image
Outputs
- picture out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| shape | Fog, Smoke, Cloud | 0 |
| density | 0 to 8 | 1 |
| size | 0.05 to 6 | 1.5 |
| height | 0.1 to 10 | 3 |
| center x | -6 to 6 | 0 |
| center y | -6 to 6 | -1 |
| center z | -6 to 6 | 0 |
| noise scale | 0.1 to 6 | 1.20000005 |
| noise amount | 0 to 1 | 0.699999988 |
| seed | 0 to 100 | 0 |
| wind x | -2 to 2 | 0.200000003 |
| wind y | -2 to 2 | 0.100000001 |
| wind z | -2 to 2 | 0 |
| speed | 0 to 4 | 1 |
| light azimuth | -180 to 180 | 51.5662003 |
| light elevation | -90 to 90 | 51.5662003 |
| light | 0 to 4 | 1.20000005 |
| ambient | 0 to 2 | 0.349999994 |
| scatter | 0 to 1 | 0.800000012 |
| anisotropy | -0.9 to 0.9 | 0.300000012 |
| light steps | 0 to 16 | 4 |
| steps | 8 to 256 | 32 |
| render steps | 16 to 512 | 96 |
| max distance | 1 to 100 | 30 |
Example patch
This patch wires Volume to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# Volume: a starting patch for the Volume node
node 1 Compositing Volume
id node
pos 520 300
end
node 2 Source Ramp
id in0
pos 0 300
end
node 3 Utility Output
id out
pos 1080 300
end
cable node 0 in0
cable out 0 node