gysiang / miniRT

A humble ray tracer engine in C
0 stars 0 forks source link

Light #19

Closed gysiang closed 1 month ago

gysiang commented 1 month ago
  1. calculated the effect how the light source affects the color of sphere.
  2. take in account of the color mixing from the ambient color with the color of sphere.

Screenshot from 2024-10-01 15-26-08