Implementation of refractions in SFML (and maybe caustics later on)