Author Topic: ID Mask Plugin  (Read 186 times)

Hi,

I need to create a plugin, wondering if the current API has support for:

I have created some smart materials and drag them into a new project, each of them has a Color selection. I want to create a plugin that can be assigned ID Mask automatically after Bake Mesh Maps.




thanks!

As you've no doubt found out by now, Painter does not yet allow for layer stack editing via the API. You won't be able to assign the input.

That said, the standard ID mesh map should already be assigned when the smart material is instantiated (assuming it was authored in a scene with a preview ID map)? Standard mesh maps shouldn't need manual assigned to Smart Materials inputs I don't think. Is this some other expected resource residing in the project, that is not the standard ID Mesh Map?