10
« on: 2025-03-13, 06:18:28 »
Hello @brabus.s
Thank you for posting your inquiry.
According to what you've mentioned, could you please let me know what Corona version you say this was working with so I can test it as well?
I think there's a little misunderstanding about how Material ID Multi-pass displays the masks (or in which cases it does).
So far, I've tested the scene you've provided, and here are my findings:
-For the Corona Physical Materials, they work as expected. Each material is assigned to a polygon selection, so the object has 3 polygon selections, which are displayed when using the Material ID Multi-pass.
-For the Corona Layered materials, you were not using the base Material. You loaded the materials at the first layer instead. If you move the materials to the base layer, it will work as expected. (Still, I'll report this to the dev team)
-For the Corona Select materials, they're working as expected when looking at the Material ID Multi-pass.
-For the Multishader, it is expected not to be displayed in the Material ID Multipass, as you're loading different textures in a single material, so the Material ID Multi-pass displays a single color (this makes sense) as only one material is used on the object. Since the object used for this test is a Cube inside a Cloner, the Instance ID Multi-pass is expected to work here, as the Cloner is generating new objects. Additionally, the Multishader is set to display the different textures per object in your test scene.
On the other hand, could you please try using the Corona 12 Update 1 Hotfix 1 instead? (I can see from your screenshots that you're using Corona 12 Update 1.
You can even try using the latest Daily Build Instead; everything should be working as well.
Lastly, if your inquiry was related to something else, could you please elaborate a little bit more?