News for hackers. Stuff that matters.
Re:Drawing Lines is Hard (2015) by Diggsey on Wednesday September 19, 2018 @06:16AM (#18023160)
A pixel shader cannot choose where to draw, it is simply given a pixel and asked what colour it should be.

In order to reduce the overdraw to something manageable, you need to generate geometry (via the CPU, geometry shader or vertex shader) that covers a relatively small superset of the pixels you actually want to draw.

There are no comments on this comment yet.