Hello guys, I’ve been working on a system that uses Material Layers to stack a bunch of materials depending on different Blending Layers.
Right now, the setup is as follows:
- One main material that simply grabs all the information given by the different layers.
- A Material Layer that writes information in the following channels:
- A Material Layer that simply overrides the incoming BaseColor:
- And a Material Blending Layer that uses a RGB Mask to lerp between Material Layers:
So my problem comes when I try to create Material Layers that only override specific values, like the one mentioned with the base color or another one that overrides the roughness value. The thing is that even if I pass the new BaseColor via SetMaterialAttributes, leaving the other incoming parameters untouched, it keeps overriding other values like the previous layers Roughness or Normals.
It would be really helpful if you could shed a little bit of light on this topic.
Thank you.