Cavity dirt material with vertical streaks
In your harnessBlender toolMIT
Build a grime node material where dirt collects in crevices found by ambient occlusion and runs down in vertical streaks from a noise stretched along Z, darkening and roughening a base colour. Use it for buildings, statues, machinery and props that need dirt in the right places.

What it takes and gives
- Operator
- baltor.material_cavity_dirt
- Parameters
- material_name, base_color, dirt_color, ao_distance, dirt_amount, streaks, streak_scale, assign
- Result
- One material with a node tree; assigned to the active object.
- Blender
- 4.2 or later
- Axes
- Blender Z up, -Y forward
- Units
- metres
Limits. Cavities come from the Ambient Occlusion shader node: ray traced in Cycles, screen-space approximated in EEVEE, so results differ. Streaks follow object Z and do not know about ledges or drip sources. Dirt is colour and roughness only, without bump. Rendered here with Cycles CPU only. Verified in Blender 5.2.1; written for the 4.2 API.
Details
- Kind
- Blender tool
- Engine
- Blender 4.2 or later
- Files
- 11 files, 114.0 KB
- Licence
- MIT
- Declared effects
- runs commands
- Checked with
- Blender 5.2.1, background (Cycles CPU for previews)
- Checks
- addon install and enable, operator runs with defaults, blender data matches core, addon disable unregisters, script mode runs, clean reopen addon file, clean reopen script file, gltf separate export, engine output clean
- Techniques
- Ambient occlusion as a cavity mask (1 - AO), Anisotropic noise by scaling one axis of the coordinates, Soft threshold by map range
- Tags
- blender, material, shader nodes, dirt, grime, ambient occlusion, weathering
- Identity
library.supply.creative_originals.d070493ea201b0ea63b2ab92.3bdea3df1945ecaf- Version
3bdea3df1945ecaffe89ef8f126896b44dcfc779525cde5de9610ea7fae0691b
The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.
Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.

