[OpenGL learning notes] computer graphics ③ - shader [GLSL Uniform color triangle color changing square]

🍲 😋 Magic square ☁️ In the previous section, we drew a dark green triangle. In this section, we implement "code encapsulation" and draw color positive angles and color changing triangles. Previous article address link: [OpenGL learning notes] computer graphics ② - [rendering pipeline vertex shader slice shader VAO VBO]. ...

Posted on Thu, 23 Sep 2021 00:43:02 -0400 by jobe1