PixelEffect:send
Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sends one or more values to a special (extern) variable inside the pixel effect. Extern variables have to be marked using the extern keyword, e.g. extern number time;
extern vec2 light_pos;
extern vec4 colors[4]; The corresponding send calls would be effect:send("time", t)
effect:send("light_pos", {light_x, light_y})
effect:send("colors", {r1, g1, b1, a1}, {r2, g2, b2, a2}, {r3, g3, b3, a3},