Overview
Position reads an AOV channel that encodes the 3D coordinates of the visible surface at each pixel. R = X, G = Y, B = Z. It lets downstream nodes (Volume Fog, Volume Mask) reason spatially.
It can be output as a visualization (a heatmap colored by position) for debugging, or used directly as a driver for 3D-aware effects in 2D compositing.
Where to find this node
- Effects Library:
Tools > Position > Position - Quick add: right-click in the Node Editor →
Add Tool > Position > Position
World vs Object Position
- World Position (P / world_pos)
- XYZ coordinates in the global space of the 3D scene. Ideal for masks by geographic area (top/bottom, left/right) and fog by world depth.
- Object Position (object_pos)
- XYZ coordinates in the local space of each object (before transform). Ideal for procedural textures that follow the object, UV-like masks.
Rule of thumb: a scene-wide geographic effect → World. An effect anchored to an object (a texture that "sticks") → Object.
Inputs
- Input (orange) - a multilayer image containing a Position channel.
- Effect Mask (blue) - optional.
Setup
Mask by height (world space):
3D EXR → Position (World)
→ Channel Booleans (extract Y)
→ Color Curves (range 0→threshold)
→ mask usable downstream
2D volumetric fog:
3D EXR → Position
→ Volume Fog (placed in the scene)
→ Merge with the beauty → MediaOut
Stable procedural texture on an object:
3D EXR → Position (Object)
→ Custom node / Texture driven by XYZ
→ Merge
Debug visualization:
3D EXR → Position (Visualize)
→ MediaOut (RGB heatmap = X/Y/Z)Controls tab
- Channel (default: World Position)
- The source to read. World Position, Object Position, or another channel depending on the EXR naming.
- Visualization Mode (default: Off)
- When enabled, maps the coordinates to RGB for visualization (X→R, Y→G, Z→B). The range adapts automatically to the values.
- Normalize (default: Off)
- Normalizes the positions to 0-1 for visualization or for chaining with nodes that expect 0-1 values.
- Range Min / Max (defaults: -10 / 10)
- Remap bounds when Normalize is enabled. Adapt them to the real scale of the 3D scene.
Use cases
- Mask by 3D area - extract the pixels below a certain Y altitude → an "everything on the ground" matte without rotopainting.
- Volume Fog placed in world space - volumetric fog that fills a precise spatial box in the 3D scene, not an approximate 2D gradient.
- 2D relighting - combined with normals and custom shading, it lets you rewrite the lighting in compositing without re-rendering the 3D.
- Stable texture on an animated object - Object Position + procedural texture = a texture that follows the object exactly without sliding.
- Custom depth-based DOF - computing the distance to the camera from World Position = precise depth of field with 2D control.
- 3D-aware compositing with 2D layers - add a 2D element whose position depends on the world space of the rendered 3D scene.
Tips
- Multilayer EXR required - the Position channel must be exported by the 3D engine. Enable it in Blender (Render Layers → World Pos), Houdini (Pworld), Maya/Arnold (P AOV).
- Check the scale - positions are in scene units (often meters in Blender, cm in Maya). Adjust the mask thresholds accordingly.
- Visualization to calibrate - enable the visualization before driving an effect: it shows whether X/Y/Z map correctly to the expected scene.
- Stray antialiasing - object edges have mixed positions (interpolations between the surface and the background) that can create halos. Filter them with coverage or alpha upstream.
- 32-bit float required - positions go far beyond 0-1. Work in 32-bit float to preserve precision.
- Combine with Camera 3D - to match the position of a camera in compositing with the one used for the 3D render, check that the transforms are consistent.
- For truly 3D effects, prefer Volume Fog or Volume Mask rather than hacking things together by hand with Position extracts - the dedicated nodes are optimized.
