Relatively simple question about vertex groups and colors

I’m trying to get a smooth transition between two different materials and I saw someone was able to use an attribute node as the factor for a mix shader between two colors. Only problem is that I can’t figure out how to actually get a vertex group to smoothly blend between the two when I use it as an attribute rather than color the entire group one color or the other.

I’m not an expert, but I think you should use Vertex Color as references in the attribute node, instead of Vertex Groups.

You can actually use either an vertex group OR a vertex colour atribute on a material node tree. So - you can use it with a mix node to mix between two shaders for example.

glad to know that, but then what about the OP question, why it doesn’t work for him/her?

EDIT: @Cruzzfish, perhaps are you connecting the attribute to a color input rather than to the ‘fac’ input of a mix node?

I’ve tried both with little difference between the two.

Which differences?
Some kind of transition?

Not really a transition, it just makes the mix shader use more of one color than the other. I’ll post a picture when I get back to my computer.

You can use either VertexGroups or VertexColor, just as you described.

Hopefully I’m on the right track here. Otherwise post some screenshots of your issue.

VertexColor you paint manually with a brush in VertexPaint Mode.
VertexGroups though, most people assign through: Properties>ObjectData TAB>VertexGroups
By default the Weight assigned is 1, and it can be overlooked that this is just a basic SkinWeight, and as such can be manually painted in WeightPaint Mode. It can also be adjusted using the Weight input in Properties>ObjectData TAB>VertexGroups.

Hopefully these screenshots can illustrate it without further explanation.

Thank you everyone, I was able to get it working.