I have a quick question. When you do the ray trace and your ray hits a point in a triangle, how do you get the z-coordinate of that point? I am having difficulties trying to ray trace back to the light source from a point on a triangle. Thanks.