That is to say, the present invention relates to a method of producing a composite material comprising ceramics as a first component, metals or other ceramics as a second component and an intermediate layer arranged between said first component and said second component, in which a ratio of said second component to said first ingredient in quantity is continuously changed, characterized in that a