Hmm. There is a big problem with implementing refraction from inside to outside.
First, the photon must pass through the prism. We can use the workaround of changing the photon's animation to one without a bounding box, but then we must know when to change it back.
Worse, it must be changed back in order to collide with the inner boundary. However, if it gets changed back while the photon is still inside the prism, the prism attempts to eject it.
You might think that making the prism into a sensor would solve this problem, but it doesn't. If the prism is made into a sensor, then the photons can pass through but the x and y normals do not work correctly. In other words, sensors aren't simply physics-less collisions. Some of the collision functionality does not work at all with sensors, such as detecting which side of an actor was hit. This really makes no sense, and I have a thread in the Suggestions sub-forum about this.