Proper Use of "Combine" GLSL Node for Accessing EXR Channel Layers – Need Help

Hi everyone,

I’m Darshan Hiranandani, working with the “combine” GLSL node to extract the “depth.Z” channel from an EXR file, and I could use some help. I’ve followed the documentation and set up the node like this:

string layer0 = “”
string layer1 = “depth”

This allowed me to access the depth channel initially, but I’m running into an issue. The next node in the chain seems to be malfunctioning, and I get intermittent errors like:

arduino

ERROR: Invalid attribute location in RenderPrimitives::render.

I found a similar bug report on GitHub (link) which seems relevant to my situation.

My question is: Am I using the “combine” node the right way for extracting channels from EXR files, or is this a bug? Any help or a working example would be greatly appreciated!

Additionally, I’ve noticed that the placement of the node affects the outcome. When I put it after a sequence, I get the errors mentioned, but putting it directly above the sourceGroup seems more stable, although it introduces new issues.

I’m working with RV 2024.1.0 on Windows 11. Any suggestions or experiences would be really helpful.

Thanks in advance!
Regards
Darshan Hiranandani