How to implement the contour line on the model

How to implement the contour line on the model

That depends on what defines these contours - but besides that, you’ll just need a shader, pass contour-defining property as a uniform, then apply color in the fragment shader based on some mapping of that contour-defining property.