I create and draw a triangular mesh in wpf C # using GeometryModel3D. I was trying to figure out how to create smooth shading over triangles, like the classic smooth openGL shaded triangle.
I would like to define a color for each vertex, and then using colors interpolated over the face like this, assuming three colors in which are red, green and blue.

I suggested that I would need to use a brush, but I could not figure out how to do this. Therefore, any help would be appreciated, or any pointer to a guide that will show me how to achieve this.
EDIT:
WPF3D, , , , xaml.
, , .
2nd EDIT
, RadialGradientBrush. RadiusX RadiusY, ?
3rd EDIT
, , RadialGradientBrush. , , RadialGradientBrush RadiusX RadiusY, , . RadialGradientBrush GradientOrigin.
GradientOrigin X, Y , [0,1]. , , X = 0.0 - , X = 1.0 - , Y = 0.0 - , Y = 1.0 - . , , [0,1] x [0,1] , ? [0,1] x [0,1], , .