RayTracing / gpu-tracing

Ray tracing on GPU systems
https://raytracing.github.io/gpu-tracing
Creative Commons Attribution 4.0 International
100 stars 6 forks source link

Fix missing line to assign the color to the Intersection in 7.4 #18

Open jk-gan opened 1 month ago

jk-gan commented 1 month ago

There is a missing instruction in 7.4 when we are adding color to the Sphere and the Intersection. Without this line, the sphere in the rendered image will be in black colour.