Assign Vertex Color Noise By Element?

Heya folks,

Is there a way to assign vertex color noise (like fractal or perlin) on an object but on the element level? I want each hexagon to have it’s own color but combined they create the noise/gradient effect. This would then be animated in Unreal through the material shader. I looked into baking vertex animation but there’s just too many vertices on this mesh for Unreal to handle. Thanks.

Capture2

So every hexagon should have a single solid color, right?

Yep exactly. I just found a way to do this with Houdini but I’d be curious if that’s possible in Blender. Here’s what it looks like in Houdini

Yes, here is a setup. I used Geometry Nodes for it. I am not sure if it is possible with a shader alone.

HexagonNoise.blend (1.2 MB)

In Geo Nodes you store the noise texture as a face attribute. You then feed this attribute into a color ramp in the shader.

1 Like

Oh wow, thanks for replying so quick with the setup. This is exactly what I was looking for! Gonna see if I can animate this in Unreal now :slight_smile:

Hi

Note that having a Named Attribute is enough these days (Since 3.4 I think) - no need to plug it into the output.

1 Like