Refraction Prism
You can adjust the incident angle and (if you want) the point along the side where the ray hits (point D).
Information: Refraction Prism