How to do gourad shading of a triangle or a plane whose three points are given with their respective color?
<p>How to do gourad shading of a triangle or a plane whose three points are given with their respective color?</p>

<p>traingle ABC</p>

<p>point A has coordinates x1,y1 and color r1,g1,b1</p>

<p>point B has coordinates x2,y2 and color r2,g2,b2</p>

<p>point C has coordinates x3,y3 and color r3,g3,b3</p>

<p>Can anybody help</p>

<p>Using Javascript only</p>
