Efficient simulation of lens distortion in OpenGL