But then a programmed version of scanlines would take resources, eliminating the advantages you described. Why don't you simply use antialiasing? Anyway, i'm pretty sure it can be done, like smartshader programs for ati cards, but never heard of one that does that.