Should I use th = acos(r) or th = acos(sqrt(r)) where r is a random number between 0 and 1. 'th' is the angle of the ray from the normal to the surface.

More Sudarshan Sarathy's questions See All
Similar questions and discussions