Render flat vertex colors from mesh

Dear folks,

I am trying to render the vertex color directly without any lighting. (Pure flat color, no shading)
What is the most easiest way to do it?

I saw in inspector under mesh debug section there is toggle to “Display Vertex Colors”:

Unfortunately, I can’t find a way to turn this on using code in API…

Or are there other better ways to render flat vertex colors?

You can use this PG:

Many thanks!
Tawibox

There are a few ways to do this, but perhaps the simplest is to follow what Display vertex colors does.

Here’s a PG example :slight_smile:

5 Likes

@alexchuber Thank you for the response! Also thank you for showing where the original Display Vertex Colors code is. Super insightful. :laughing:

1 Like