I have very large number of planes in my scene and each needs to be assigned a color, and to do that, I am assigning a material to each plane. Blender is allowing 2^15, i.e. 32768 materials. But the number of planes in the scene are on the order of millions.
How can I make blender handle more materials so that I can color all the planes?