Egor Kutilov - 2015-08-10

Hello everyone!
I have question about getting colors from U3D model. My workflow is:
1. Get Renderable Group from Modifiers Chain for IFX Model.
2. Get list of shaders from IFX MashGroup (Does one list of shaders connect with one IFXGroup? The mesh group in model has several shader lists and I process only first of them)
3. For every mesh in mesh group I request from shader list a shader with index = index mesh in group of meshes.
4. Request ID material from the shader and request a color form the material. And there is trouble. Every shader has one default shader with default material and default texture with indeces 0. Although the palette of material has a lot of different materials.
What do I do wrong? Did I skip some approach to get a color of face?
P.S. I can send test model with this problem.