My raytracer has a point light source, it works as it should, illuminates the scene, but there is a problem, it is not visible, I would like to add glowing objects to the raytracer, for example a sphere that would look like the sun
I need any object to be able to glow whether it's a triangle (or a line?).
Which algorithm should I use?
Sorry for my poor English)