1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00

04-05 04-09

This commit is contained in:
Meow J
2016-12-08 22:45:32 +08:00
parent 6a1e49a84d
commit 18d8741915
2 changed files with 3 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ glBindVertexArray(0);
![](../img/04/09/geometry_shader_points.png)
我们不是已经学到了所有内容吗?对,现在我们将通过为场景添加一个几何着色器来为这个小场景增加点活力。
是这些不都是我们之前学过的内容吗?是的,但现在我们会给这个场景加入一个几何着色器,给它增加点活力。
出于学习的目的我们将创建一个叫pass-through的几何着色器它用一个point基本图形作为它的输入并把它无修改地传pass到下一个着色器。