Haze¶
Haze fills the air with fine particles that catch light: beams from spots and windows become visible, lights glow in the air, and distant things fade. The haze settings are on the Pathtracer's World page.
Turning it on¶
Haze Density above 0 turns the haze on; higher values make it thicker. Then:
- Haze Color is the colour of the light the haze scatters.
- Anisotropy sets which way the haze scatters light. Positive values scatter it forward, so beams glow brightest when you look towards the light, as in real haze and fog. 0 scatters evenly; negative values scatter light back.
- Haze Samples is how many points along each view ray the haze is lit at. Raise it when beams look noisy.
Each PT LIGHT has Affects Haze. Turn it off for a light that should light the scene without showing in the air; its light then also passes through the haze undimmed.
Where the haze is¶
Without a Haze Box, the haze fills the space around the scene's geometry, its lights and the camera. To keep it to one place, name an object, for example a Null COMP or a Geometry COMP, in Haze Box: the haze fills a 1 × 1 × 1 cube centred on that object, the size of a Box POP at its defaults. Move, rotate and scale the object to place the haze.
Uneven, drifting haze¶
Variation breaks the haze up with noise, from 0 (even) to 1 (patchy). Variation Scale sets the size of the
patches, and Drift is how far they have moved, in units along X, Y and Z, like smoke carried by a draught.
Animate it to make the haze drift: me.time.seconds in Drift X moves it one unit a second along X.
Thick fog¶
Multiple Scattering lets light scatter more than once inside the haze, so it spreads through it: thick fog with a soft, bright glow around lights. It is slower; leave it off for thin haze.
Haze with a shape of its own¶
For a cloud, a plume or smoke from a simulation, put a 3D texture in Haze Texture: a 3D TOP, or a T3D operator. The texture fills the Haze Box, or without one the space the haze fills, and its value multiplies Haze Density: where the texture is 0 there is no haze. Texture Channel picks which channel is read as the density, or the brightness of the colour. Variation still applies on top, for fine detail. For smoke or fire as an object of its own, with its own box, colour and glow, use a PT T3D instead.
Textured haze renders at the pace of its densest spot everywhere in the box. A small, dense core in a large, mostly empty box is slow: fit the Haze Box to the cloud, or soften its densest part.
What the haze shows in¶
Haze shows directly, and in sharp reflections and through glass. Seen in rough or matte surfaces it only dims the light they receive. With Multiple Scattering it is lit from everywhere.