X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fplaneinf.h;h=a0272a8d9c837c7121b18c0c2188ff554146e9ce;hb=b9dedb4dd2a1e94ae76a3986716ee3c57e568213;hp=abd7a0caf67cb6466f392fcf00dca07dc65ce9d2;hpb=6d66c67945f84476d6ac75a0497007cc30bcf58c;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/planeinf.h b/shaders/planeinf.h index abd7a0c..a0272a8 100644 --- a/shaders/planeinf.h +++ b/shaders/planeinf.h @@ -7,12 +7,14 @@ static struct vg_shader _shader_planeinf = { .link = shader_planeinf_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_planeinf = { ""}, .fs = { -.orig_file = "../shaders/planeinf.fs", +.orig_file = "../../shaders/planeinf.fs", .static_src = "\n" "#line 2 0 \n"