You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
You can't. If lighting is off, you get vertex colors modulated with textures. There's no way to access the material colors, which only affect the incoming light.