I'm sorry I could not answer earlier.I'm using MonoGame. The effect is achieved with shaders. I think they can be applied in Unity ...