AssetBash Docs Sign in
Lunaris USD + path tracing in TouchDesigner

Rendering

The viewport has two renderers. Click Render in the toolbar to switch between them.

Which one to use

StormPath tracer
SpeedInstant, every frameReal time while moving; cleans up in a second or two when still
ShadowsShadow maps from distant, rect and disk lightsCorrect soft shadows from every light
Bounce light, glass, reflectionsNoYes
MaterialXToo darkYes
Use it forLayout, animation, quick checksLighting, look development, final frames

The path tracer is checked against Karma: on the same scene they agree to within about 1%.

Display

Exposure, tone mapping and a gamma tweak apply to both renderers. Set them from the toolbar, or on /TD_Lunaris/StormUSD (Display page).

Path tracer settings

On /TD_Lunaris/PathTrace, page Path Trace:

ParameterUse
BouncesHow many times light bounces. More gives brighter, more accurate interiors, at a cost.
Max SamplesHow many frames are averaged when the camera is still. More is cleaner.
Samples While MovingHow many frames are averaged while the camera moves. Low keeps motion sharp.
Pause When ConvergedStops tracing once Max Samples is reached and nothing changes, to free the graphics card. Any change starts it again.
OptiX Denoise, Denoise ModelRemoves noise. Temporal is steadiest in motion. The Upscale 2x models trace at half resolution (set Resolution Scale to 0.5) and upscale.
Upscale While MovingTraces at half resolution only while the camera moves, then switches back to full resolution.
Resolution ScaleTraces at a fraction of the viewport size.
Texture SizeSize of the texture copies the tracer uses (see Materials).
Indirect ClampLimits very bright bounce light to remove fireflies. It follows the exposure, so it works at any light level.
Path RegularizationSoftens hard caustic paths to remove fireflies, with a small loss of accuracy.
Glass ShadowsGlass casts a light, tinted shadow instead of a solid one. (Caustics, the bright patterns focused by glass, aren't traced.)
HDRI Importance SamplingAims more rays at the bright parts of the dome. Leave it on.
Light SelectionBy Power aims at the lights that matter most at each point. Better than Uniform with many lights.
SamplerSobol cleans up faster than Random.
Anti-alias JitterSmooths edges. Leave it on.
Reset AccumulationStarts the average over.

Radiance cache

The Radiance Cache page stores bounce light in the scene and reuses it, which reduces noise in sunlit, bounce-heavy scenes. It's off by default. Turn on Enable Cache and compare; the other settings are for fine-tuning, and the Debug View shows what the cache is doing.

What the path tracer doesn't do yet

  • Implicit shapes (USD Cube, Sphere and similar prims) are skipped. Use meshes. A warning on the stage operator counts the skipped prims.
  • Volumes and true volumetric fog.
  • Texture rotation in UsdTransform2d is ignored (scale and offset work).