you may not even need a shader at all , try using a grid with brg 0,0,0 in the cntre of the squares and then use my.overlay = on;


beware the sock! - tLempoary...