|
|
|
|
|
by Diggsey
2829 days ago
|
|
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. |
|