## Draw rectangular, rectangular, circular, and circular boxes using shader (WebGL-Shader Development Foundation 02)

1. Draw a rectangle
Last article learned how to draw a line, now learn how to draw a surface. Start with drawing a rectangle. In fact, the idea of drawing a rectangle is the same as that of drawing a line, except that the area restricted by drawing a line is narrower and the area restricted by drawing a rectangle is wider. Let's start with ...

Posted on *Tue, 09 Nov 2021 12:20:22 -0500* by **no3dfx**