How do you archive this effect?

I saw this blending between multiple environment more than once by now and really want to reproduce it. I heard something about using a sphere trace, but don’t know where to start. Is there any documentation or videos on the subject?