I want to create something like picture 1 (credits to the Artists of Stellaris Game)
As you can see in picture 2 there is nothing to see because I want to take an image in front for the horizontal background scene.
But if I take a look from inside of this object through the glass front, the HDRI is visible (picture 3) and curved because of the IOR. I use the standard Glass BSDF shader.
In picture 4 you can see the nodes I use to hide the HDRI for render but not for lighting.
Why is it visible through the glass?