Refraction along a layer | Synapse