I am writing a script for compositing, which requires that the Render Layers node has the Shadow Catcher output (see image below).
This can be done with the GUI by going into the View Layer and toggling on the Shadow Catcher Pass, as such:
Unfortunately, I cannot find a way to do this using script. In fact, the ViewLayer
class doesn't seem to have a property for this, but does have it for other passes (e.g. use_pass_combined
).
Any help would be appreciated!