Karma · 3D graphics

Also known as: Karma XPU

On this page 7

Karma is the physically based path tracing renderer developed by SideFX for Houdini, built natively on Universal Scene Description (USD) and exposed through the Solaris lighting context. In 3D graphics & animation, and specifically in the Lighting & rendering workflow, Karma turns a USD stage of geometry, materials, lights and cameras into final frames and render passes.

Karma exists in two engines that share one scene description: Karma CPU, a mature production renderer that runs entirely on processors, and Karma XPU, a hybrid CPU and GPU engine that splits work across all available devices. Karma succeeded the older Mantra renderer as the default choice for new Houdini projects, and its tight coupling with USD makes it a natural fit for layout, look development and shot lighting in modern pipelines.

How Karma renders a USD stage

Karma renders by reading a composed USD stage through the Hydra render delegate interface, which means the same scene that artists inspect in the viewport is the scene that reaches the renderer. Lighting artists build the stage in Solaris, the node network of LOPs, where they reference assets, assign materials, place lights and define render settings.

For each pixel, Karma traces camera rays into the scene, evaluates surface shaders at every hit, and follows indirect bounces to estimate global illumination by Monte Carlo integration. Noise falls as the number of samples rises, roughly with the square root of the sample count, so halving noise costs about four times the samples. Final frames can be rendered interactively in the viewport or in batch with husk, the command-line tool that renders USD files directly on a render farm.

The table below summarizes the main stages of a Karma render and what each stage controls.

StageWhat happensMain controls
Scene compositionUSD layers are composed into one stageReferences, payloads, variants
Material bindingShaders are resolved per primitiveMaterialX or Karma material networks
Ray tracingCamera and secondary rays are tracedRay depth limits per component
SamplingPixel estimates are accumulatedPixel samples, convergence settings
OutputBeauty and AOVs are writtenRender vars, OpenEXR settings
Stages of a Karma render

Karma CPU and Karma XPU compared

The two engines differ mainly in hardware use and feature coverage. Karma CPU supports the full feature set, including advanced controls such as per-component secondary sampling, while Karma XPU distributes rays across CPU cores and one or more GPUs, using Embree on processors and NVIDIA OptiX on supported graphics cards.

Karma XPU is designed so that a frame rendered on mixed hardware converges to the same image as on the CPU alone, which lets studios add GPUs without rebuilding lighting. Its speed advantage is largest on scenes that fit in graphics memory; very heavy volumes or dense instancing can erase that gain when data no longer fits.

AspectKarma CPUKarma XPU
HardwareCPU cores onlyCPU and GPU together
Feature coverageComplete, most matureBroad but still catching up
Interactive speedModerateUsually much faster
Memory limitsSystem RAMGPU memory for the GPU share
Typical useHeavy final frames, edge casesLook development, fast iteration
Practical differences between the two engines

Materials, lights and render outputs in Karma

Karma shading is built around MaterialX, an open standard for describing materials, together with the Karma Material Builder and the MtlX Standard Surface model. This choice matters because MaterialX networks can travel between applications with far fewer translation errors than proprietary shader formats.

Lights follow the UsdLux schema, so area lights, distant lights, dome lights fed by an HDRI and mesh lights are ordinary USD primitives. Light linking and light path expressions let artists isolate contributions, while render vars define arbitrary output variables (AOVs) such as diffuse, specular, emission, depth and cryptomatte IDs for compositing.

The following table lists common Karma outputs and how compositors use them.

OutputContentCompositing purpose
BeautyFull lit imageFinal reference plate
Direct and indirect diffuseLight split by bounceRebalancing fill and bounce light
SpecularReflections and highlightsTuning gloss without re-rendering
CryptomatteObject and material IDsPrecise mattes per asset
Depth and normalsGeometric dataDefocus, fog, relighting tricks
Common Karma render outputs

Where Karma fits among render engines

Karma competes with renderers such as Arnold, RenderMan, V-Ray and Redshift, but its distinguishing trait is that it is bundled with Houdini and designed around USD from the start rather than adapted to it later. For Houdini-centric studios this removes a separate licensing layer and a translation step between the scene and the renderer.

RendererNative environmentNotable strength
KarmaHoudini Solaris, USDNative volumes and procedural data
ArnoldMany hosts via plug-insRobust CPU and GPU path tracing
RenderManMany hosts, USD supportLong feature film heritage
RedshiftMany hosts via plug-insFast biased GPU rendering
Karma relative to other production renderers

The trade-off is ecosystem breadth: third-party shaders and plug-ins written for other renderers do not run in Karma, and teams outside Houdini rarely adopt it as a standalone tool.

Limitations and common mistakes with Karma

Most Karma problems come from sampling choices and scene structure rather than from the renderer itself. The following list covers issues that experienced lighters check first.

  • Raising pixel samples globally instead of targeting the noisiest light paths, which wastes render time.
  • Assuming every Karma CPU feature exists in Karma XPU, which can break a shot moved between engines.
  • Leaving ray depth limits too high on glass and volumes, which multiplies cost for little visible change.
  • Relying on a denoiser such as Intel Open Image Denoise or OptiX for final frames without checking temporal flicker.
  • Building materials outside MaterialX and losing portability between engines.

Put simply

Karma is the built-in tool in Houdini that turns a virtual 3D scene into a finished picture. It imitates how real light travels, bouncing off walls and passing through glass, so the result looks natural.

It comes in two versions. One uses only the main processor and can handle almost anything. The other also uses the graphics card, so it is much faster for previews and many final shots. Both read the same scene, so switching between them is easy.

In practice

A small visual effects team is lighting a 90-shot sequence of a storm over a harbor, with Houdini ocean, spray and cloud volumes. The lighting artist assembles each shot in Solaris, references the published USD assets and binds MaterialX shaders to the boats and docks.

During look development the artist uses Karma XPU on two GPUs, getting a usable preview of a frame in under a minute instead of several minutes on the CPU. For the heaviest shots, where the cloud volumes exceed graphics memory, the farm renders with Karma CPU through husk at 64 pixel samples, writing beauty, diffuse, specular and cryptomatte passes to OpenEXR.

Because both engines read the same stage, the team changes engines per shot without relighting, and delivers the sequence on schedule with consistent color and noise levels across all 90 shots.