Could load texture correctly when rendering to framebuffer. However, when framebuffer is used, only left down corner of the texture is displayed.
I loaded a model with some texture initialization before initiating framebuffer. And the model affected the initialization of framebuffer;
Should initialize framebuffer before loading the model.
Task for tomorrow:
Try every simple mesh in the object separately.