Can a light be excluded from specific cameras / render products? (IR projector bleeds into the RGB sensor)

Important: Isaac Sim support

Note: For Isaac Sim support, the community is gradually transitioning from this forum to the Isaac Sim GitHub repository so that questions and issues can be tracked, searched, and resolved more efficiently in one place. Whenever possible, please create a GitHub Discussion or Issue there instead of starting a new forum topic.

Note: For any Isaac Lab topics, please submit your topic to its GitHub repo ( GitHub - isaac-sim/IsaacLab: Unified framework for robot learning built on NVIDIA Isaac Sim · GitHub ) following the instructions provided on Isaac Lab’s Contributing Guidelines ( Contribution Guidelines — Isaac Lab Documentation ).

Please provide all relevant details below before submitting your post. This will help the community provide more accurate and timely assistance. After submitting, you can check the appropriate boxes. Remember, you can always edit your post later to include additional information if needed.

Isaac Sim Version

6.0.1
6.0.0
5.1.0
5.0.0
4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

Ubuntu 24.04
Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: NVIDIA GeForce RTX 3090 Ti (x2)
  • Driver Version: 580.159.04

Topic Description

Is there a supported way to make a UsdLux light illuminate some cameras but not others — i.e. per-camera or per-render-product light exclusion? I am simulating an active-stereo depth camera whose IR dot projector is, on the real device, invisible to the RGB sensor because of an IR-cut filter. In Isaac Sim the projector lights every camera equally, so the dot pattern contaminates RGB.

Detailed Description

The rig is a UsdLux.RectLight with isProjector = true and a direction texture, rigidly mounted beside a stereo IR camera pair and an RGB camera — the same physical arrangement as an Orbbec Gemini or Intel RealSense. On the real hardware the projector emits at about 850 nm and the RGB sensor has an IR-cut filter, so the dots appear only in the IR images. In Isaac Sim, light has no wavelength, so the same dots appear in the RGB render at full strength.

Measured on the RGB stream while the projector is on (1280x720, converted to grayscale, median 9x9 local standard deviation):

image region local contrast, projector on projector off share of pixels above 200 DN
near floor 19.6 2.0 - 2.4 32 %
mid floor 18.3 2.0 - 2.4 18 %
vehicle body 33.7 ~1.3 6.5 %
wall 5.2 ~5 0.2 %

A third of the near-floor pixels are projector dots. For anything that consumes the RGB stream — marker detection, training data for a tire detector — that is not usable.

Steps to Reproduce

  1. Create a UsdLux.RectLight with isProjector = true, visibleInPrimaryRay = false, a dot-pattern texture in inputs:texture:file and a direction texture in projector:directionTexture:file.
  2. Parent it beside both an IR camera and an RGB camera on the same rig.
  3. Render both cameras. The dot pattern appears in both.

Error Messages

None. This is a modelling limitation, not a failure.


Additional Information

What I’ve Tried

1. Toggling the projector per frame (turn it off on the frames the RGB camera is read, on for the IR frames). The light does not respond within a frame: setting intensity to 0 and back on alternating frames left the IR floor contrast in the on-state range (18 - 41) throughout, never dropping to the off-state value of about 2. OmniSensorAPI also exposes only tickRate and no phase control, so the RGB and IR render products tick together and cannot be given opposite projector states even if the light did respond immediately.

2. Removing the dots from the RGB image afterwards. Detect them with a morphological top-hat and fill from a morphological opening. This is the workaround I am currently shipping:

method near-floor contrast wall contrast cost per frame
none (dots present) 19.6 5.25 —
top-hat + median fill 12.0 5.24 86 ms
top-hat + opening fill 4.0 5.32 31 ms
target (projector off) 2.0 - 2.4 ~5 —

It cuts the contamination fivefold and leaves genuine texture alone (the wall is unchanged), but it does not remove the dots — at 32 % coverage the local background estimate is itself contaminated. Large bright features such as fiducial markers are bigger than the kernel and survive, which is what matters for my use, but the floor is visibly altered.

3. A separate render pass for RGB with the projector hidden. Correct, but doubles camera rendering cost. My scene already runs at a real-time factor around 0.05 with the cameras on, so this is not affordable for continuous capture.

Questions

  1. Is there a supported way to exclude a light from specific cameras or render products? USD light linking binds lights to geometry collections, which does not help here — I need the same geometry lit differently for two cameras in the same frame. Is there a per-render-product light list, or anything equivalent in RTX?
  2. Is there any notion of spectral or per-channel light in Kit that would let an IR projector be invisible to an RGB sensor? Even a coarse approximation — for example a light that only contributes to a named AOV — would solve this.
  3. If neither exists, is a per-camera light mask something that could be considered? Every simulated active-stereo or structured-light sensor has this exact problem: the projector must be visible to the depth imagers and invisible to the colour imager. StructuredLightCamera in isaacsim.sensors.experimental.rtx builds precisely this kind of rig, so the limitation applies to first-party tooling too.
  4. Failing all of the above — is there a way to make a light’s intensity change take effect on the very next rendered frame, so that frame-alternating becomes viable? That plus a phase offset on OmniSensorAPI would be enough.

Related Issues

Same rig, different problem, already resolved: https://forums.developer.nvidia.com/t/rectlight-isprojector-pattern-disappears-while-the-camera-moves-in-realtimepathtracing-radiance-cache-convergence/382945[.](https://forums.developer.nvidia.com/t/rectlight-isprojector-pattern-disappears-while-the-camera-moves-in-realtimepathtracing-radiance-cache-convergence/382945) The projector pattern was being destroyed under camera motion by the default DLSS anti-aliasing; switching to DLAA fixed it. That fix is what makes the present question matter — with the projector now working during continuous capture, the RGB contamination becomes the remaining blocker to collecting both streams in one run.

Additional Context

For anyone hitting this before an answer exists, the two practical options are: collect RGB-critical data in a separate pass with the projector off, or apply the top-hat plus opening removal above and accept a fivefold reduction rather than elimination.

To keep the discussion consolidated, I am going to close this forum topic as a duplicate and redirect to the existing issue: