new to Blender and I'm trying to replace the HDRI image, but keep the lighting. After trying the compositing method, I decided to go with a big sphere around the model.
I am able to view get the sphere to be visible when viewed directly
but when looking through the glass the HDRI image is still visible and not the sphere.
The windows are Archipack rail windows with portals enabled and a basic glass shader.
I suspect it might be my glass shader, since when I remove the diffuse ray, the blue sphere shows up through the window, but the HDRI remains in the reflections. I played around with the different rays, and by replacing the diffuse with a camera ray, I could get the sphere to show in window, but it got rid of the reflections which I'd like to keep.
I'd appreciate some help with either troubleshooting the issue or if I'm going about doing the sky replacement the wrong way.
Update: So after a lot of faffing about, I wanted to clarify the question a bit more. I was able to get both the reflections and the outside to render simultaneously by using a glossy BSDF and transparent BSDF into an add shader, however the HDRI image still overlays it.
I think what I want is how to remove the HDRI image from the glossy or glass BSDF? Or any way to only render the reflections on glass, but not the HDRI image itself?