Computer Graphics, Python, Mathematics, Game Development, Game Design.
black color to p ✅ if the ray (line) that starts at camera and goes towards p intersects any object of the scene then: ✅ calculate the intersection point to the nearest object ✅ if there is no object of the scene in-between the intersection point and the light then: calculate the color of the