提交 7b23555d 编写于 作者: O Olli Etuaho

Add missing instanced comment to example

上级 4ed1865f
......@@ -84,6 +84,7 @@
`
#define LAMBERT
// instanced
attribute vec3 instanceOffset;
attribute vec3 instanceColor;
attribute float instanceScale;
......@@ -128,8 +129,8 @@
#include <defaultnormal_vertex>
#include <begin_vertex>
// position instanced
// position instanced
transformed *= instanceScale;
transformed = transformed + instanceOffset;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册