Render Settings
When to Use
Use this skill when the user asks to change render settings, set max bounces, configure path tracing, change render quality, or modify RTX settings on a RenderProduct.
Inputs
Resolve inputs in this order: existing repository files and referenced snippets, explicit user request, then broader agent context.
- Target API surface: Python, C/C++, USD, or a combination.
- RenderProduct prim path and the exact
omni:rtx:* setting attribute to author or update.
- Desired setting value, USD type, runtime/write timing, and whether reset/warmup behavior matters.
- Existing scene or snippet that already owns related RenderProduct settings.
- Repository source snippets referenced below. Treat these snippets as the API source of truth.
Prerequisites
- Use an ovrtx checkout that contains the referenced examples and docs tests.
- Read the relevant
> **Source:** snippet before writing or explaining API usage.
- Confirm the setting belongs on the RenderProduct prim, not on a Camera, RenderVar, or renderer creation option.
- Use
writing-attributes when the setting is changed through runtime APIs.
Instructions
- Identify the RenderProduct path and the exact RTX setting attribute to change.
- Write settings on the RenderProduct prim, not on the Camera or RenderVar prim.
- Match the value type to the USD attribute schema and preserve existing authored settings that are unrelated to the request.
- Apply the writing-attributes skill when setting values through runtime APIs rather than static USD.
- When changing code, run the render-settings docs test that owns the setting snippet whenever practical.
Output Format
- For explanations, cite the relevant API names, source snippets, and caveats.
- For code changes, summarize the files changed, snippets affected, and validation run.
Scripts
This skill has no scripts.
Limitations
- The referenced snippets remain the source of truth; update or add tested snippets before documenting new API usage.
Overview
Render settings in ovrtx are written as attributes on the RenderProduct prim. To change a setting, use write_attribute() in Python or ovrtx_write_attribute() in C, targeting the RenderProduct prim path (e.g., /Render/Camera) with the setting's attribute name.
Settings use the omni:rtx: namespace prefix. For example, to set the maximum number of path tracing bounces, write omni:rtx:rtpt:maxBounces as an int32 attribute.
After changing a render setting, call reset() and run warm-up frames to allow the renderer to converge with the new setting.
Python
Set a render setting on a RenderProduct
Source: tests/docs/python/test_base.py snippet doc-set-render-setting
C
Set a render setting on a RenderProduct
Source: tests/docs/c/test_base.cpp snippet doc-set-render-setting-c
Key Types / Functions
| Python |
C |
renderer.write_attribute(prim_paths=["/Render/Camera"], attribute_name="omni:rtx:rtpt:maxBounces", tensor=np.array([value], dtype=np.int32)) |
ovrtx_write_attribute(renderer, &binding, &buffer, OVRTX_DATA_ACCESS_SYNC) with int32 DLTensor |
Render Mode Selection
| Setting |
Type |
Default |
Description |
omni:rtx:rendermode |
string |
"Real-Time Path-Tracing" |
Render mode: "Real-Time Path-Tracing", "PathTracing", or "Minimal" |
Real-Time Path-Tracing Settings (rtpt:)
Sampling and Caching
| Setting |
Type |
Default |
omni:rtx:rtpt:cached:enabled |
bool |
true |
omni:rtx:rtpt:lightcache:cached:enabled |
bool |
true |
omni:rtx:rtpt:ris:meshLights |
bool |
false |
Ray Bounces and Shading
| Setting |
Type |
Default |
omni:rtx:rtpt:maxBounces |
int |
3 |
omni:rtx:rtpt:maxSpecularAndTransmissionBounces |
int |
3 |
omni:rtx:rtpt:maxVolumeBounces |
int |
15 |
omni:rtx:pt:fractionalCutoutOpacity |
bool |
true |
omni:rtx:rtpt:maxRoughness |
float |
0.3 |
omni:rtx:rt:reflections:roughnessCacheThreshold |
float |
0.3 |
omni:rtx:rtpt:translucency:virtualMotion:enabled |
bool |
true |
Firefly Filter
| Setting |
Type |
Default |
omni:rtx:rtpt:fireflyFilter:enabled |
bool |
true |
omni:rtx:rtpt:fireflyFilter:maxUnexposedIntensityPerSample |
float |
3200.0 |
omni:rtx:rtpt:fireflyFilter:maxUnexposedIntensityPerSampleDiffuse |
float |
3200.0 |
omni:rtx:rtpt:fireflyFilter:maxPerEmissiveUnexposedIntensity |
float |
3200.0 |
Gaussian Splatting
| Setting |
Type |
Default |
omni:rtx:rtpt:gaussian:accumulatedDepth:enabled |
bool |
true |
Path Tracing Settings (pt:)
Path Tracing
| Setting |
Type |
Default |
omni:rtx:pt:samplesPerPixel |
int |
512 |
omni:rtx:pt:samplesPerIteration |
int |
1 |
omni:rtx:pt:adaptiveSampling:enabled |
bool |
true |
omni:rtx:pt:limits:maxBounces |
int |
4 |
omni:rtx:pt:limits:maxGlossyBounces |
int |
6 |
omni:rtx:pt:maxVolumeBounces |
int |
15 |
omni:rtx:pt:limits:maxFogBounces |
int |
2 |
omni:rtx:pt:fractionalCutoutOpacity |
bool |
true |
Denoising
| Setting |
Type |
Default |
omni:rtx:pt:denoising:enabled |
bool |
true |
omni:rtx:pt:denoising:optix:temporal |
bool |
false |
omni:rtx:pt:denoising:blendFactor |
float |
0.0 |
omni:rtx:pt:denoising:optix:denoiseAOVs |
bool |
true |
Sampling and Caching
| Setting |
Type |
Default |
omni:rtx:pt:radianceCache:enabled |
bool |
true |
omni:rtx:pt:lightCache:enabled |
bool |
true |
omni:rtx:pt:ris:meshLights |
bool |
false |
omni:rtx:pathtracing:rayguide:cached:enabled |
bool |
false |
Firefly Filter
| Setting |
Type |
Default |
omni:rtx:pt:fireflyFilter:enabled |
bool |
true |
omni:rtx:pt:fireflyFilter:maxUnexposedIntensityPerSample |
float |
3200.0 |
omni:rtx:pt:fireflyFilter:maxUnexposedIntensityPerSampleDiffuse |
float |
3200.0 |
omni:rtx:pt:fireflyFilter:maxPerEmissiveUnexposedIntensity |
float |
3200.0 |
Spectral Rendering
| Setting |
Type |
Default |
omni:rtx:pathtracing:spectral:enabled |
bool |
false |
omni:rtx:pathtracing:spectral:wavelengthMin |
float |
10.0 |
omni:rtx:pathtracing:spectral:wavelengthMax |
float |
10000.0 |
omni:rtx:renderingColorSpace |
string |
"lin_rec709_scene" |
omni:rtx:pathtracing:spectral:responseCurve |
uint |
0 |
Non-Uniform Volumes
| Setting |
Type |
Default |
omni:rtx:pt:ptvol:enabled |
bool |
false |
omni:rtx:pt:volumes:transmittanceMethod |
int |
BiasedRayMarching |
omni:rtx:pt:volumes:tracking:maxScatteringSteps |
int |
1024 |
omni:rtx:pt:volumes:tracking:maxShadowSteps |
int |
32 |
omni:rtx:pt:limits:maxVolumeBounces |
int |
2 |
Multi-GPU
| Setting |
Type |
Default |
omni:rtx:pt:multigpu:enabled |
bool |
true |
omni:rtx:pt:mgpu:autoLoadBalancing:enabled |
bool |
true |
omni:rtx:pt:mgpu:compressRadiance |
bool |
false |
omni:rtx:pt:mgpu:compressAlbedo |
bool |
true |
omni:rtx:pt:mgpu:compressNormals |
bool |
true |
omni:rtx:multiThreading:enabled |
bool |
true |
Global Volumetric Effects
| Setting |
Type |
Default |
omni:rtx:pt:ptvol:raySky |
bool |
false |
omni:rtx:pt:ptvol:raySkyScale |
float |
1.0 |
omni:rtx:pt:ptvol:raySkyDomelight |
bool |
false |
Anti-Aliasing
| Setting |
Type |
Default |
omni:rtx:pt:pixelFilter:filter |
int |
Triangle |
omni:rtx:pt:pixelFilter:radius |
float |
1.0 |
Minimal Settings
| Setting |
Type |
Description |
omni:rtx:minimal:mode |
int |
Minimal render mode variant |
omni:rtx:minimal:constantColor |
float3 |
Constant color output |
omni:rtx:minimal:castShadows |
bool |
Enable shadow casting |
omni:rtx:rt:ambientLight:color |
float3 |
Ambient light color |
omni:rtx:rt:ambientLight:intensity |
float |
Ambient light intensity |
Troubleshooting
- Render settings are attributes on the RenderProduct prim, not on a separate RenderSettings prim. Write them to the same prim path you pass to
step() (e.g., /Render/Camera).
- The dtype must match exactly --
omni:rtx:rtpt:maxBounces is int32, not int64.
- After changing a setting, call
reset() and run warm-up frames before capturing output. The renderer needs time to reconverge.
- Settings use the
omni:rtx: namespace prefix, with subsystem prefixes like rtpt: (real-time path tracing), post: (post-processing), etc.
References
- Use the
> **Source:** directives in this skill to locate tested snippets before reusing API patterns.
- Keep related skills, docs, and snippets synchronized when changing the workflow.
1---2name: render-settings3description: Writing render settings to control rendering behavior. Use when user asks to change render settings, set max bounces, configure path tracing, change render quality, or modify RTX settings on a RenderProduct.4license: LicenseRef-NvidiaProprietary5---67# Render Settings89## When to Use1011Use this skill when the user asks to change render settings, set max bounces, configure path tracing, change render quality, or modify RTX settings on a RenderProduct.1213## Inputs1415Resolve inputs in this order: existing repository files and referenced snippets, explicit user request, then broader agent context.1617- Target API surface: Python, C/C++, USD, or a combination.18- RenderProduct prim path and the exact `omni:rtx:*` setting attribute to author or update.19- Desired setting value, USD type, runtime/write timing, and whether reset/warmup behavior matters.20- Existing scene or snippet that already owns related RenderProduct settings.21- Repository source snippets referenced below. Treat these snippets as the API source of truth.2223## Prerequisites2425- Use an ovrtx checkout that contains the referenced examples and docs tests.26- Read the relevant `> **Source:**` snippet before writing or explaining API usage.27- Confirm the setting belongs on the RenderProduct prim, not on a Camera, RenderVar, or renderer creation option.28- Use `writing-attributes` when the setting is changed through runtime APIs.2930## Instructions31321. Identify the RenderProduct path and the exact RTX setting attribute to change.332. Write settings on the RenderProduct prim, not on the Camera or RenderVar prim.343. Match the value type to the USD attribute schema and preserve existing authored settings that are unrelated to the request.354. Apply the writing-attributes skill when setting values through runtime APIs rather than static USD.365. When changing code, run the render-settings docs test that owns the setting snippet whenever practical.3738## Output Format3940- For explanations, cite the relevant API names, source snippets, and caveats.41- For code changes, summarize the files changed, snippets affected, and validation run.4243## Scripts4445This skill has no scripts.4647## Limitations4849- The referenced snippets remain the source of truth; update or add tested snippets before documenting new API usage.5051## Overview5253Render settings in ovrtx are written as attributes on the **RenderProduct** prim. To change a setting, use `write_attribute()` in Python or `ovrtx_write_attribute()` in C, targeting the RenderProduct prim path (e.g., `/Render/Camera`) with the setting's attribute name.5455Settings use the `omni:rtx:` namespace prefix. For example, to set the maximum number of path tracing bounces, write `omni:rtx:rtpt:maxBounces` as an `int32` attribute.5657After changing a render setting, call `reset()` and run warm-up frames to allow the renderer to converge with the new setting.5859## Python6061### Set a render setting on a RenderProduct6263> **Source:** `tests/docs/python/test_base.py` snippet `doc-set-render-setting`6465## C6667### Set a render setting on a RenderProduct6869> **Source:** `tests/docs/c/test_base.cpp` snippet `doc-set-render-setting-c`7071## Key Types / Functions7273| Python | C |74|--------|---|75| `renderer.write_attribute(prim_paths=["/Render/Camera"], attribute_name="omni:rtx:rtpt:maxBounces", tensor=np.array([value], dtype=np.int32))` | `ovrtx_write_attribute(renderer, &binding, &buffer, OVRTX_DATA_ACCESS_SYNC)` with `int32` DLTensor |7677## Render Mode Selection7879| Setting | Type | Default | Description |80|---------|------|---------|-------------|81| `omni:rtx:rendermode` | `string` | `"Real-Time Path-Tracing"` | Render mode: `"Real-Time Path-Tracing"`, `"PathTracing"`, or `"Minimal"` |8283## Real-Time Path-Tracing Settings (`rtpt:`)8485### Sampling and Caching8687| Setting | Type | Default |88|---------|------|---------|89| `omni:rtx:rtpt:cached:enabled` | `bool` | `true` |90| `omni:rtx:rtpt:lightcache:cached:enabled` | `bool` | `true` |91| `omni:rtx:rtpt:ris:meshLights` | `bool` | `false` |9293### Ray Bounces and Shading9495| Setting | Type | Default |96|---------|------|---------|97| `omni:rtx:rtpt:maxBounces` | `int` | `3` |98| `omni:rtx:rtpt:maxSpecularAndTransmissionBounces` | `int` | `3` |99| `omni:rtx:rtpt:maxVolumeBounces` | `int` | `15` |100| `omni:rtx:pt:fractionalCutoutOpacity` | `bool` | `true` |101| `omni:rtx:rtpt:maxRoughness` | `float` | `0.3` |102| `omni:rtx:rt:reflections:roughnessCacheThreshold` | `float` | `0.3` |103| `omni:rtx:rtpt:translucency:virtualMotion:enabled` | `bool` | `true` |104105### Firefly Filter106107| Setting | Type | Default |108|---------|------|---------|109| `omni:rtx:rtpt:fireflyFilter:enabled` | `bool` | `true` |110| `omni:rtx:rtpt:fireflyFilter:maxUnexposedIntensityPerSample` | `float` | `3200.0` |111| `omni:rtx:rtpt:fireflyFilter:maxUnexposedIntensityPerSampleDiffuse` | `float` | `3200.0` |112| `omni:rtx:rtpt:fireflyFilter:maxPerEmissiveUnexposedIntensity` | `float` | `3200.0` |113114### Gaussian Splatting115116| Setting | Type | Default |117|---------|------|---------|118| `omni:rtx:rtpt:gaussian:accumulatedDepth:enabled` | `bool` | `true` |119120## Path Tracing Settings (`pt:`)121122### Path Tracing123124| Setting | Type | Default |125|---------|------|---------|126| `omni:rtx:pt:samplesPerPixel` | `int` | `512` |127| `omni:rtx:pt:samplesPerIteration` | `int` | `1` |128| `omni:rtx:pt:adaptiveSampling:enabled` | `bool` | `true` |129| `omni:rtx:pt:limits:maxBounces` | `int` | `4` |130| `omni:rtx:pt:limits:maxGlossyBounces` | `int` | `6` |131| `omni:rtx:pt:maxVolumeBounces` | `int` | `15` |132| `omni:rtx:pt:limits:maxFogBounces` | `int` | `2` |133| `omni:rtx:pt:fractionalCutoutOpacity` | `bool` | `true` |134135### Denoising136137| Setting | Type | Default |138|---------|------|---------|139| `omni:rtx:pt:denoising:enabled` | `bool` | `true` |140| `omni:rtx:pt:denoising:optix:temporal` | `bool` | `false` |141| `omni:rtx:pt:denoising:blendFactor` | `float` | `0.0` |142| `omni:rtx:pt:denoising:optix:denoiseAOVs` | `bool` | `true` |143144### Sampling and Caching145146| Setting | Type | Default |147|---------|------|---------|148| `omni:rtx:pt:radianceCache:enabled` | `bool` | `true` |149| `omni:rtx:pt:lightCache:enabled` | `bool` | `true` |150| `omni:rtx:pt:ris:meshLights` | `bool` | `false` |151| `omni:rtx:pathtracing:rayguide:cached:enabled` | `bool` | `false` |152153### Firefly Filter154155| Setting | Type | Default |156|---------|------|---------|157| `omni:rtx:pt:fireflyFilter:enabled` | `bool` | `true` |158| `omni:rtx:pt:fireflyFilter:maxUnexposedIntensityPerSample` | `float` | `3200.0` |159| `omni:rtx:pt:fireflyFilter:maxUnexposedIntensityPerSampleDiffuse` | `float` | `3200.0` |160| `omni:rtx:pt:fireflyFilter:maxPerEmissiveUnexposedIntensity` | `float` | `3200.0` |161162### Spectral Rendering163164| Setting | Type | Default |165|---------|------|---------|166| `omni:rtx:pathtracing:spectral:enabled` | `bool` | `false` |167| `omni:rtx:pathtracing:spectral:wavelengthMin` | `float` | `10.0` |168| `omni:rtx:pathtracing:spectral:wavelengthMax` | `float` | `10000.0` |169| `omni:rtx:renderingColorSpace` | `string` | `"lin_rec709_scene"` |170| `omni:rtx:pathtracing:spectral:responseCurve` | `uint` | `0` |171172### Non-Uniform Volumes173174| Setting | Type | Default |175|---------|------|---------|176| `omni:rtx:pt:ptvol:enabled` | `bool` | `false` |177| `omni:rtx:pt:volumes:transmittanceMethod` | `int` | BiasedRayMarching |178| `omni:rtx:pt:volumes:tracking:maxScatteringSteps` | `int` | `1024` |179| `omni:rtx:pt:volumes:tracking:maxShadowSteps` | `int` | `32` |180| `omni:rtx:pt:limits:maxVolumeBounces` | `int` | `2` |181182### Multi-GPU183184| Setting | Type | Default |185|---------|------|---------|186| `omni:rtx:pt:multigpu:enabled` | `bool` | `true` |187| `omni:rtx:pt:mgpu:autoLoadBalancing:enabled` | `bool` | `true` |188| `omni:rtx:pt:mgpu:compressRadiance` | `bool` | `false` |189| `omni:rtx:pt:mgpu:compressAlbedo` | `bool` | `true` |190| `omni:rtx:pt:mgpu:compressNormals` | `bool` | `true` |191| `omni:rtx:multiThreading:enabled` | `bool` | `true` |192193### Global Volumetric Effects194195| Setting | Type | Default |196|---------|------|---------|197| `omni:rtx:pt:ptvol:raySky` | `bool` | `false` |198| `omni:rtx:pt:ptvol:raySkyScale` | `float` | `1.0` |199| `omni:rtx:pt:ptvol:raySkyDomelight` | `bool` | `false` |200201### Anti-Aliasing202203| Setting | Type | Default |204|---------|------|---------|205| `omni:rtx:pt:pixelFilter:filter` | `int` | Triangle |206| `omni:rtx:pt:pixelFilter:radius` | `float` | `1.0` |207208## Minimal Settings209210| Setting | Type | Description |211|---------|------|-------------|212| `omni:rtx:minimal:mode` | `int` | Minimal render mode variant |213| `omni:rtx:minimal:constantColor` | `float3` | Constant color output |214| `omni:rtx:minimal:castShadows` | `bool` | Enable shadow casting |215| `omni:rtx:rt:ambientLight:color` | `float3` | Ambient light color |216| `omni:rtx:rt:ambientLight:intensity` | `float` | Ambient light intensity |217218## Troubleshooting219220- Render settings are attributes on the **RenderProduct** prim, not on a separate RenderSettings prim. Write them to the same prim path you pass to `step()` (e.g., `/Render/Camera`).221- The dtype must match exactly -- `omni:rtx:rtpt:maxBounces` is `int32`, not `int64`.222- After changing a setting, call `reset()` and run warm-up frames before capturing output. The renderer needs time to reconverge.223- Settings use the `omni:rtx:` namespace prefix, with subsystem prefixes like `rtpt:` (real-time path tracing), `post:` (post-processing), etc.224225## References226227- Use the `> **Source:**` directives in this skill to locate tested snippets before reusing API patterns.228- Keep related skills, docs, and snippets synchronized when changing the workflow.