This is a render of an indoor environment. There is a glass window in the room that provides a view of the street outside. The scene is lit with an outdoor HDRI environment texture. The problem is that the outdoor HDRI is reflected on inside of the glass. What is the best way to remove or fix these reflections?
2 Answers
The solution is to set a (non-zero) refraction depth for the glass material and add a reflection plane just in front of the window pointing inward toward the room. The reflection plane will override the reflection of the background environment texture locally. Using this method, other objects in the scene will still be able to reflect the environment.
Notes: My glass material has screen space refraction enabled with a refraction depth set at 0.01 m. In the render properties I have also lowered the edge fading amount to 0.03 and enabled overscan at 10%.
(You may need to make further adjustments to these render property values if the refraction is still fading out toward the edge of the camera frame.)

- 458
- 2
- 8
To avoid the HDRI reflection you can create this node setup for the world: Mix the HDRI Background node with whatever Background you want into a Mix Shader, and use the Input > Light Path > Is Glossy Ray as the factor. The HDRI will still be the light source but the second Background will be the one that will be taken account for reflections:
- 155,560
- 7
- 105
- 171
-
Thanks, I tried this way, it looks so good. but can make this reflection translucent. it looks plastic right now. – gary yang Dec 14 '21 at 06:25
-
1you can put whatever you want in the other input of the Mix Shader, in my screenshot it's a grey color background but it can be another HDRI, or your current HDRI but with some tweakings, etc – moonboots Dec 14 '21 at 06:29


This question is more similar to Configuring eevee glass reflections.
– Ethan-Hall Dec 15 '21 at 04:32