Question: How to use vertex colors in Armory 3d?

The wiki page says vertex colors are supported “You can access vertex colors (using the color output)”. Which color output is meant? I tried the shader data node to no avail. Uniform.hx only talks about light colors. I´ am left clueless.

vertex_col_test.blend (1.1 MB)

You need to use the Vertex Color node in the shader editor.

Here’s an example file:
VertexColorTest.blend (853.1 KB)

1 Like

Worked, after finding out where to set a hook. After setting it i was able to select “col” in the vertex shader node (Note: add from input section).

Set_vertex_colors

Thank you!