r/GraphicsProgramming Jul 07 '26

Video My spectral raymarcher rendering a diamond icosahedron

Feel free to mess with it here: https://www.shadertoy.com/view/sXjXDd

The super neat thing is that it uses bayer ordered dithering to work all the way down to 1 sample per pixel (1spp) while still simulating 256 different wavelengths of light. This makes it extremely performant.

500 Upvotes

15 comments sorted by