projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
routes - auto disappear
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
terrain.h
diff --git
a/shaders/terrain.h
b/shaders/terrain.h
index 4ad91ea8f6f864fd5d7d2dae5126a496be24673b..063566282c27bb944818e249f5e1df702f784954 100644
(file)
--- a/
shaders/terrain.h
+++ b/
shaders/terrain.h
@@
-11,8
+11,10
@@
static struct vg_shader _shader_terrain = {
.static_src =
"layout (location=0) in vec3 a_co;\n"
"layout (location=1) in vec3 a_norm;\n"
.static_src =
"layout (location=0) in vec3 a_co;\n"
"layout (location=1) in vec3 a_norm;\n"
-"layout (location=2) in vec4 a_colour;\n"
-"layout (location=3) in vec2 a_uv;\n"
+"layout (location=2) in vec2 a_uv;\n"
+"layout (location=3) in vec4 a_colour;\n"
+"layout (location=4) in vec4 a_weights;\n"
+"layout (location=5) in ivec4 a_groups;\n"
"\n"
"#line 2 0 \n"
"\n"
"\n"
"#line 2 0 \n"
"\n"