Is glColorMaterial supported? And if so, which APIs? I can't find it or get it to work. I'm trying to generate a terrain with lots of polygons in a grid, and I don't want them to all be the same color, but I can't imagine drawing this thing one polygon at a time. Surely there's some kind of solution available?
More generally, how do I find out what's supported in a particular API (either in terms of OpenGL, or just in general).