ScriptableRenderPass and SetOverrideMaterial

Hi there,

I am creating a ScriptableRenderPass and I override the objects material using SetOverrideMaterial.

Everything works well but I would like to use the base material properties value inside the override material. We can think of some kind of SetReplacementShader feature.

As an example, if my default material has _Color I want to have access to this value in the override material.
Any idea how to do that ?

Maybe @Tim-C or @phil_lira could tell me more about this.