I am using GLScene in my delphi project. I add some free form to my scene (like a tooth). I donβt use material libraries in the past. I add my texture through the material property directly from the free form. Now I need to use materiallib because I want to use some shaders. But if I add materiallib to my free one, I get an ugly result from it. You can see the effect in this picture.

Where is my mistake?
Thanks for any answer or hint.
source share