The issue I’m having, is that this material is on a Decal system, not applied to a mesh, so I don’t have a “Renderer” component. But I do have a material in the Decal.
If i assining the material to the Renderer type _rendererTarget, doesnt work…
I tried few workarounds but cannot figure it out.
Since the decal system doesn’t use a renderer component, it’s likely manually rendering the decals using Graphics.Draw___() functions or command buffer draw functions. In which case the system may already be using material property blocks internally as many of the manual draw functions take a material property block as an optional input. However that means it skips any internal systems Unity has for automatically applying them. So if you want to add additional properties to those decals’ property blocks, you’ll need to modify the decal system’s code directly to add that support. Or email the author and ask them.