Debug occlusion channel in ORM texture (PBRMaterial)

Hello, I want to debug the occlusion channel (red) in my ORM texture and see it wrapped on the mesh without any color information.

For metallic and roughness, I’m relying on the material debug (material.debugMode) to get the preview effect. I’m hoping to use the same for this, but I can’t find any mode that gives me that debug render.

Welcome aboard!

We currently only support showing the occlusion map in the debug view (called “Ambient texture” in the drop-down list).

This PR will add a new debug mode for the ambient occlusion color: