How can I edit an object?s vertex colors based on its position? I basicaly want a position gradient as vertex colors (without having to paint them by hand).
I'd just pull the information out of the object in my ue4 Shader unless there was a good reason no to tbh
However, in max... Probably the simplest conceptual way is to script the vertex paint modifer - it's probably pretty well documented so have a poke around and see how you go.
I've done this in 3ds Max. Make a Composite map. Multiply together two radial gradients. Each on a different UV... one uv from the front, the other from the side. Plug composite into Diffuse of the material. Add a VertexPaint modifier, use it to bake the Diffuse into the vertex colors.
You can also check out MCG. There's a sample that does vertex color by position.
Replies
However, in max...
Probably the simplest conceptual way is to script the vertex paint modifer - it's probably pretty well documented so have a poke around and see how you go.
You can also check out MCG. There's a sample that does vertex color by position.
Add Scale if you need to adjust range,