C# OpenGL Tutorial 3 : Coloring Vertices
Автор: GiawaVideos
Загружено: 2013-12-15
Просмотров: 23221
In this tutorial series I'll be following the first couple of NeHe tutorials, which are pretty standard for anyone learning OpenGL. However, I will be using my own class library (based on the OpenTK library) which eliminates any fixed function pipeline access.
In this third tutorial we'll be adding another buffer which stores vertex colors, and then accessing that data in the vertex shader and then finally in the fragment shader. The color is linearly interpolated by the GPU to produce a smooth transition between vertices of different colors.
The entire tutorial series is available on GitHub here: https://github.com/giawa/opengl4tutor...
The OpenGL class library is open source, and available here: https://github.com/giawa/opengl4csharp
These tutorials have been tested on a Windows PC, but should run on Mac and Linux given a wee bit of love. Check out an example of using the OpenGL class libraries on Mac here: https://github.com/giawa/opengl4mac
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: