frag based version of overlay shader