framebuffer formalitites
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / unlit.h
index 8fbf00b17a293a9d8fa5d9a11b81941f84c7db32..6f7466e4d491f7565936ea3334d019e4206fe760 100644 (file)
@@ -7,12 +7,14 @@ static struct vg_shader _shader_unlit = {
    .link = shader_unlit_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"
-"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"
@@ -38,7 +40,7 @@ static struct vg_shader _shader_unlit = {
 ""},
    .fs = 
 {
-.orig_file = "../shaders/unlit.fs",
+.orig_file = "../../shaders/unlit.fs",
 .static_src = 
 "out vec4 FragColor;\n"
 "\n"