Order independent transparency: Difference between revisions

Line 26: Line 26:


==Per-Pixel Linked Lists==
==Per-Pixel Linked Lists==
This method requires an atomic counter or storage buffers with atomic operations, available in OpenGL 4.2+, Vulkan, and WebGPU. It also requires a small amount of overdraw since sorting needs to happen per pixel.
The idea is to have each pixel build a linked list of each fragment being drawn. Then the linked list will be sorted and rendered back to front.