# How to make objects only visible if you look through glass?

**URL:** <https://forums.unrealengine.com/t/how-to-make-objects-only-visible-if-you-look-through-glass/455059>\
**Category:** Rendering\
**Tags:** glass, disappear, unreal-engine, objects, question\
**Created:** [September 9, 2019, 9:51am UTC](https://forums.unrealengine.com/t/how-to-make-objects-only-visible-if-you-look-through-glass/455059 "2019-09-09T09:51:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lightofnaru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lightofnaru](https://forums.unrealengine.com/u/lightofnaru)\
**Post date:** [September 9, 2019, 9:51am UTC](https://forums.unrealengine.com/t/how-to-make-objects-only-visible-if-you-look-through-glass/455059/1 "2019-09-09T09:51:10Z")

</div>

How can I make an object only visibile if you look through some

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 9, 2019, 10:13am UTC](https://forums.unrealengine.com/t/how-to-make-objects-only-visible-if-you-look-through-glass/455059/2 "2019-09-09T10:13:12Z")

</div>

Franky, probably the easiest way is to use blueprint to hide/unhide the objects.

Also, I don’t know if you’ve seen this asset:

> **[Portal - Another reality in Blueprints - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/portal-another-reality)**
>
> This asset allows you to easily create portals to worlds that will be slightly different from the original worlds.

---

<div class="post-metadata">

**Author:** ![BlueMind\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueMind\_Studio](https://forums.unrealengine.com/u/BlueMind_Studio)\
**Post date:** [September 10, 2019, 10:36am UTC](https://forums.unrealengine.com/t/how-to-make-objects-only-visible-if-you-look-through-glass/455059/3 "2019-09-10T10:36:52Z")

</div>

Use a scene capture to a texture and apply it as a material to your class. depending on your need you can add a trigger before the class to toggle the visibility of the cubes, like onEnter make them visible, onExit hide them again. In a SceneCapture you can also select which actors it should make visible in the texture which is quite powerfull
