Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 731 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 731 Bytes

OpenGL pixel-sorting shader experimentation

The Mona Lisa with pixel sorting based on luminescence applied based on a depth map

This is a little experiment to implement a pixel-sorting shader based on the following video I Tried Sorting Pixels by Acerola.

My implementation makes use of a fragment shader to sort the pixels into the correct order instead of doing the sorting in a compute shader.

The example picture is based on the Mona Lisa with this depth map.