ssloy / tinyraytracer

A brief computer graphics / rendering course
https://github.com/ssloy/tinyraytracer/wiki
5.04k stars 333 forks source link

Raytracer in shadertoy #18

Open ConfusedSky opened 5 years ago

ConfusedSky commented 5 years ago

Haven't figured out refraction yet, but I got this to work in shadertoy rendering at 60fps with some code and scene changes.

https://www.shadertoy.com/view/3tlXRl

bitviper-cloud commented 7 months ago

Has any managed to get an iterative and nonrecursive version of the code working. I'm close but cannot get both the reflection and refraction working together?????