Library for simulation of camera lens effects as a post-processing effect for OpenGL and Direct3D