Lesson 3 Adding Color

原创文章,转载请注明: 转载自慢慢的回味

本文链接地址: Lesson 3 Adding Color

Expanding on the second tutorial I will teach you how to create spectacular colors in OpenGL with very little effort. You will learn about both flat coloring and smooth coloring. The triangle on the left uses smooth coloring. The square on the right is using flat coloring. Notice how the colors on the triangle blend together.  

Color adds alot to an OpenGL project. By understanding both flat and smooth coloring, you can greatly enhance the way your OpenGL demos look. 本作品采用知识共享署名 4.0 国际许可协议进行许可。

发表回复