Skip to content

0xhtml/shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An OpenGL pixel-sorting fragment shader

Topics

Resources

License

Stars

Watchers

Forks