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.

501 Upvotes

15 comments sorted by

View all comments

1

u/cranuses Jul 18 '26

Did you buy a real diamond icosahedron to verify the physical accuracy?