What is Effect Localization?
Localization lets you apply post-process effects to specific parts of your scene — certain objects, screen regions, depth layers, or particle-defined areas.
Object Space — Custom Depth Stencil
- Select actor(s) → enable Render CustomDepth Pass
- Set a Custom Depth Stencil Value (1–255)
- In the material instance, enable Use Object Localization and match the value
Use Include mode to affect only marked objects, or Exclude to affect everything else.
Screen Space — Region Masking
| Parameter | Description |
|---|---|
| Center | UV coordinate of the region center (0–1) |
| Size | Width and height of the region (0–1) |
| Feather | Edge softness — 0 = hard, 1 = very soft |
| Invert | Apply outside the region instead of inside |
Depth-Based Separation
Enable Separate Background and set a Depth Threshold to apply different effects to foreground vs. background objects.
Niagara-Based Localization
Use AOS Niagara systems to render effects only where particles spawn — move the emitter to animate the effect's position dynamically.