View shader on Shadertoy - Published on 2019-01-09
Yet another Cornell Box. I have optimised the code of my shader "RIOW 2.07: Instances" for the Cornell Box and added direct light sampling to reduce noise. Only Lambertian solid materials and cubes are supported.
These shaders are my implementation of the raytracer described in the (excellent) book "Ray tracing in one weekend" and "Ray tracing: the next week"[1] by Peter Shirley (@Peter_shirley).
- Chapter 7: Diffuse https://www.shadertoy.com/view/llVcDz
- Chapter 9: Dielectrics https://www.shadertoy.com/view/MlVcDz
- Chapter 11: Defocus blur https://www.shadertoy.com/view/XlGcWh
- Chapter 12: Where next? https://www.shadertoy.com/view/XlycWh
- Chapter 6: Rectangles and lights https://www.shadertoy.com/view/4tGcWD
- Chapter 7: Instances https://www.shadertoy.com/view/XlGcWD
- Chapter 8: Volumes https://www.shadertoy.com/view/XtyyDD
- Chapter 9: A Scene Testing All New Features https://www.shadertoy.com/view/MtycDD
[1] http://in1weekend.blogspot.com/2016/01/ray-tracing-in-one-weekend.html
Source: Image.glsl
- Yet another Cornell Box on Shadertoy
- An overview of all my shaders
- My public profile on Shadertoy
- http://in1weekend.blogspot.com/2016/01/ray-tracing-in-one-weekend.html
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.