Alter vertex color at runtime or construct time

There appears to be no way to edit an object instance’s vertex color at runtime or construct time. I have to different use cases for this. One is splatting on a floor using vertex color (eg. in runtime) and another is setting vertex color based on the construct script results (eg. checks proximity and adjusts color accordingly)

These would both be extremely useful, is there a feature I’m missing and otherwise could this be implemented into the engine?

Definately want to know if dynamic vertex painting is possible

Hi Prea -

There is no current way to set vertex color dynamically at run time. You could prepaint your mesh with specific R, G and B values and then use each of those painted vertex channels to call dynamically different elements based on vertex color. For something like a floor splatter, I might look into using a decal that’s spawned dynamically.

Thank You

Eric Ketchum

That’s unfortunate! Pre-painting won’t work for my game.

Decals could be a reasonable alternative (if many overlapping decals won’t cause graphical glitches, which I will find out soon enough)

Thanks for your help!

Are there any updates to this? We are able to paint dynamically at runtime, but it crashes during shipping due to the vertex buffer being freed and de-allocated. We desperately need this feature, so just thought I’d pop my head out and ask. Thank you.

I would find this useful too.

I want this feature too. What node is?

How did you manage to paint vertex colors at runtime?

Anything new. We managed to get ourselves into this exact predicament.

Any news on this?

Was hoping to change vertices color inside a sphere trigger. Possibly by using these nodes.

This is a feature I really want, I am building a fire place and for the dynamic changes from the fire burning the wood, to switch between two or three textures this would be awesome.

I appreciate that this is an old post - but just to update it… you can set the vertex colour at runtime using the Set Vertex Color Override node (for skinned skeletal meshes):

336353-vertex1.jpg

This works both in the editor and packaged for me (the only trick I found was that you had to ensure that you allow CPU access to the static mesh (a copy of the skeletal mesh that I used to generate the number of vertices)

I just released a “Runtime Vertex Color Paint & Detection Plugin” if people are still interested in this feature!