[protected, inherited]
Helper function that computes the transmission direction and sets up a ray with the correct parameters.