Re:My mental model of how alpha opacity works is wrong (2020)
by pcwalton on Saturday February 05, 2022 @05:04PM
(#30226681)
The "right" solution with no quality compromises is per-pixel linked lists (PPLLs) that are then sorted afterward. This is straightforwardly implementable on GPU, but it remains to be seen whether the technique will take off, given the overhead.
[ Parent
| on HN ]
Re:My mental model of how alpha opacity works is wrong (2020)
by Jasper_ on Saturday February 05, 2022 @08:47PM
(#30228453)
Pixel Shader Interlock (or Raster Ordered Views in D3D12 terminology) is effectively the same thing but without a resolve step, but the overhead is massive and basically too slow in practice.
To be honest, the game developer way of solving this is to just not use transparency. Too many things rely on the G-buffer / depth buffer these days, and transparency is usually limited to a lower quality render anyway.