Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webgl/lessons/zh_cn/webgl-boilerplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TOC: 样板
WebGL 复杂的原因之一是需要两个方法,一个顶点着色器和一个片断着色器。
这两个方法是在你的 GPU 上运行,也是高速运行的保障。
所以它们是一种自定义语言,目的是能够在 GPU 上良好运行。
这两个方法需要编译并链接在一起,而这个过程在 99% 的 WbgGL 应用中是一样的。
这两个方法需要编译并链接在一起,而这个过程在 99% 的 WebGL 应用中是一样的。

这是编译着色器的样板代码。

Expand Down