This page is created automatically. Click here to view this shader on Shadertoy.

Yesterday, I found out about bidirectional path tracing. I didn't read the articles, but looked at the images and I tried to implement something myself. Therefore, I think most of the math will be incorrect - but it looks nice. Only diffuse lighting.

Source code

You can find (the full source of) Bidirectional path tracing on Shadertoy.