projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
angle limit constraint
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
route.h
diff --git
a/shaders/route.h
b/shaders/route.h
index 650f8a957d0f583fb59567518ff3ed16b4e3cdb8..2ecff91df16a4d3e7610787cd19187371fd8e00e 100644
(file)
--- a/
shaders/route.h
+++ b/
shaders/route.h
@@
-7,12
+7,14
@@
static struct vg_shader _shader_route = {
.link = shader_route_link,
.vs =
{
.link = shader_route_link,
.vs =
{
-.orig_file = "../shaders/standard.vs",
+.orig_file = "../
../
shaders/standard.vs",
.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"
@@
-38,7
+40,7
@@
static struct vg_shader _shader_route = {
""},
.fs =
{
""},
.fs =
{
-.orig_file = "../shaders/route.fs",
+.orig_file = "../
../
shaders/route.fs",
.static_src =
"out vec4 FragColor;\n"
"\n"
.static_src =
"out vec4 FragColor;\n"
"\n"