Any tutorials or example programs on implementing this kind of lighting?

Thanks you very much.

These are underwhater caustics, in the picture you can see rays…

OpenGl doesn’t anything similar, you need to write you implementation for them, much depends on which results you need, for photorealism I think you should consider doing a software renderer, for realtime there are a lot of ways, from 3d textures to volumetric fog.
Now you has the starting point, Google will do the rest