Coloring a vertex in custom mesh component

I figured out the problem…
It had nothing to do with the code, it was that the material did not use the vertex colour data. (I was used to the default behaviour being vertex colour is used, not exactly sure how the default material behaviour is in ue4)
Also there should be a way to do this with different variables, not just colour component. Material properties etc. Not exactly sure how atm.

1 Like