I have a vertex group, which was painted using weight paint, called trees
.
I would like to use it in the shader editor to (smoothly) mix between two shaders. As I understand it, it's not possible to directly take the value of the vertex group weight there, so I would like to map the weights to a vertex color in geometry nodes:
I made sure that the Viewer shows the correct colors (R=G=B, smoothly changing from 0 to 1).
I set the output value to a vertex color:
I then take the vertex color and use it in a diffuse shader, but I see the output being uniformly black:
- what went wrong here?
- do you have a better workflow for what I'm trying to achieve?