Following up on my last quick tip, here's a way to colorize polygons with a uv map.
There are a couple of other ways to do this, but with a uv map one stays flexible and there is
no generator object which slows down the scene. In the video you see me taking the square root
of the polygon count and then rounding this number up in order to have a value to be used on a
plane and on the pixel shader. This is a quick way to have approximately the same polygon count
as with the object we want to colorize. By deleting unnecessary polygons and having exactly the
same count we are able to just take uv tag from the plane and drop it onto our object. This technique
works for triangles and for quads. For ngons it unfortunately doesn't :-)