Better look at a very basic Material set-up I have and the different types of ways I’ve tried getting it to work:
Better look at my Material Attribute Function:
Main Material: