I'm currently designing my first custom node in order to be able to apply variations of the same complex shader to multiple objects.
The green highlighted values are linked to color ramps sliders in the node group via drivers and data paths. To be able to control those sliders, each of their drivers are set to use Material ID-block and linked to the specific material the node group is a part of.
The issue is that I can't figure out how to duplicate this group node and have the duplicates have their own driver set-up. So while those duplicates can have their own hatching scale and base color because their directly linked to nodes in the node group, the cluster border size, hard shadow start and others are all linked to the same material across all duplicates because of the drivers.
EDIT //. After Gorgious' answer, I tried to use custom properties instead of drivers but I'm still not quite there yet. My new method is as follows.
After selecting an object, I go to the material tab and create a new custom property of which I copy the data path.
I then go inside my node group to any given color ramp sliders I want to control and create a driver set up like this :
I then go the group node and add an attribute node to the corresponding input.
But the issue stays the same and even after having repeated this same set-up for another material, the attribute nodes of each material control both. I have those multiple materials, each having their own attribute node, each displaying different custom property names, acting over different drivers and yet, it's all linked.
I tried the same thing with a custom property created on the object tab rather than the material one. Same results. I also tried to get rid of the driver, linking the attribute node and the slider only via the custom property name but then, it does nothing.
Where did I go wrong?