Learn AI, Data Science & Business — Earn Certificates That Get You Hired
CISSP MasterClass with a true CAT exam simulator
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This lesson implements lighting and shading for a ray-traced sphere, covering floating-point color values, hit coordinates, closest intersections, surface normals, and illumination mathematics.
Syllabus
- Lighting and shading in rendering
- Using floats for colors
- Why use floats instead of ints for colors?
- Finding our sphere hit coordinates
- Closest intersection point
- Using color to visualize numbers
- How lighting and shading works
- Calculating lighting using normal vectors
- Visualizing normals better
- Using math to calculate lighting and shade our sphere
Taught by
The Cherno