OmniPBR's Opacity Map is not hooked up to the Principled BSDF node

Hello! While preparing a few materials for USD exporting, I noticed that hooking up the Opacity Map to the OmniPBR Compute node does not affect the material’s opacity in Blender:

The current workaround is to also plug the Opacity Map texture directly into the Principled BSDF’s Alpha input:

This should be a pretty easy fix… Just need to add an “Alpha” output to the OmniPBR Compute node and add two more nodes inside it so that the Enable Opacity and Enable Opacity Texture parameters work as expected:

In fact, it was so easy that I did it myself 😁

Here’s the fixed omnipbr.json template file:
omnipbr.json (89.8 KB)

It goes in %appdata%\Blender Foundation\Blender\3.6\scripts\addons\omni\universalmaterialmap\blender\template\
(remember to backup the original just in case)

I’ve created a PR with the fix: Fix Opacity parameters not affecting the material in Blender by HeCorr · Pull Request #2 · NVIDIA-Omniverse/blender_omniverse_addons · GitHub

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.