Setting material ambient color by vertices

Hey Guys,

so I am using the example of to set different colours at different vertices of a mesh. Not sure where the colorkind sets the color to, but it only works with normal lights. I am trying to make it work with scene.ambientcolor rather than a light so I can have an even color all over the mesh.

I’d appreciate any ideas to solve this!
Thank you


Would an emissive color work for you?


Here’s with ambientColor: