You can also get light to curve by having a material with a continuously varying index of refraction.