Hi SideFX team and everyone,
I would like to discuss support for using an existing Deep EXR sequence as a render-time holdout in Karma, similar to Mantra’s camera background image workflow with Background Image as Matte (vm_backgroundmatte).
The goal is to render a new FX element against an existing deep image and receive an RGBA output with the camera-space occlusion already applied, without importing the original holdout assets or requiring the new FX render to be delivered as deep.
Production use case
In a production pipeline, the final character or environment may be rendered in another DCC and renderer. The FX department needs its elements to be correctly occluded by that scene, but reproducing the original assets’ rendered opacity inside Houdini can be difficult.
Two common examples are:
XGen hair and fur
A character’s final hair silhouette and opacity depend on more than the underlying groom. They can involve procedural generation, modifiers, width variation, shading, motion blur, and renderer-specific sampling.
Even when curves or caches can be transferred into Houdini, matching the final rendered coverage and opacity is not necessarily straightforward. Small differences become visible when smoke, mist, particles, or other FX pass behind or through the hair.
A deep sequence from the final character render could provide the actual camera-space depth and opacity needed for the holdout, without requiring the FX department to reproduce the XGen rendering setup.
Foliage with opacity maps
Trees and vegetation frequently use polygon cards with opacity textures. Importing only the geometry can cause entire cards to act as opaque holdouts.
Rebuilding the original materials and matching their opacity evaluation across renderers creates additional work and potential inconsistencies. A deep sequence from the final environment render already contains the resulting depth and opacity information.
In both cases, the requirement is to reuse the final render’s occlusion, rather than recreate its asset and material setup in Houdini.
Why outputting FX deep for compositing is not always an equivalent workflow
Rendering the FX as deep and performing the holdout in Nuke is a valid solution. However, it changes the downstream requirements.
For shots that only need a held-out RGBA FX element, it can introduce:
- Additional deep output, storage, and I/O.
- Deep compositing setup and maintenance.
- Extra delivery requirements for otherwise conventional RGBA elements.
The existing character or environment deep sequence could instead be reused across multiple FX iterations, with each FX render producing an RGBA result that already contains the required occlusion.
The request is therefore not to replace deep compositing, but to support another useful production workflow.
Requested functionality
Ideally, Karma would provide:
- An external Deep EXR sequence input, associated with the render camera or render settings.
- A holdout-only mode that uses the deep samples’ depth and opacity to occlude the new render.
- Exclusion of the input deep image’s own color and alpha from the delivered FX image, following the behavior of Mantra’s Background Image as Matte.
- Support in both Karma CPU and XPU, if feasible.
The intended scope is primary camera-ray occlusion. The deep input would not be expected to replace scene geometry for shadows, reflections, indirect lighting, or other secondary-ray interactions.
Camera, image format, frame timing, and depth conventions would need to match. Even with those constraints, this would be valuable for locked shot cameras.
Questions
Does Karma currently provide a supported way to achieve this, perhaps through a less documented camera property or workflow?
If not, could an equivalent to Mantra’s external deep background matte be considered as an RFE? It would be particularly helpful for cross-renderer workflows involving XGen hair, fur, foliage, and other assets whose final rendered opacity is difficult to reproduce accurately in Houdini.
Thank you. I would also be interested in hearing how other studios handle this handoff in their Karma pipelines.
Reference: Mantra rendering properties — Background Image as Matte