fixed bug where in metallic materials textures were not set to null