I write programm, and there i have projector, and 3d objects.
My problem is, that when i give to projector some color (or eaven if i don’t give color), i cannot change color to my 3d objects, and i want make every object in ather color.
As mikael_aronsson pointed out, it’s important to knwo whther or not you are using lighting. I’ll answer as assuming that you are…
You should probably use glEnable (GL_COLOR_MATERIAL) - that way your material color will always match the vertex color you specify. If you do not, then changing the vertex color will have no effect on lit objects.