8 ms·
Looks like it would make a nice glsl/WebGL fragment shader (might be even shorter as the vector operations are predefined). Can't see one listed on the page, bu
by user2994cb 10y ago
Looks like it would make a nice glsl/WebGL fragment shader (might be even shorter as the vector operations are predefined). Can't see one listed on the page, but then it's mostly from a few years back.
- user2994cb 10y agoLooking at it a bit more - the double recursion in the radiance function for refraction would make things a bit awkward in WebGL.