Need ideas: Assign distinct color to each face of mesh

What I’m trying to achieve:



source: Return of the Obra Dinn [Releasing Oct 18]

I’ve modified engine to add custom rendering pass and scene texture – so I can use vertex shader and pixel, there’s no limit.

But I’m currently ran out of ideas to implement this. If you have any idea, please comment! It will be really appreciated.

you could try having everything start as grey boxing then apply the materials then convert them to static mesh using blueprints /C++

I made some progress, thanks!