- Home /
Is it possible to make an asset invisible to fps player camera when looking at it directly but only visible when looking at it through mirror reflection?
Basically what the title asks... I am making the intro mission of my game like a riddle, where the player is in an empty room with only a mirror. The target object is hanging on the wall right across the mirror. I want it to be initially invisible and stay invisible unless the player sees it through the mirror by interacting it. After the interaction with the mirror, the object will be visible to look at directly and become interactable.
Answer by tusadi · Feb 26, 2017 at 12:26 PM
Something like this?
(Here,one of the camerra is used for mirror and the other one is used as main camera)
Give the objects you dont want to render/display from main camera a different layer(top right). [Note: do not change the culling mask of the camera used for mirror]
Go to your main camera and uncheck the tag of those objects in the culling mask option.
?????
Profit ;)
Yep, that's what I was looking for. Thanks :)
Oh boi, this was way easier than I would have thought. Thanks!
Answer by Squidicus · May 15, 2020 at 04:16 PM
This might take some time but maybe you can try making a complete replica of the room but on one side you have the object
Your answer
Follow this Question
Related Questions
Line Renderer Issues 1 Answer
Creating interactable enviornment items that are usable by all players in Multiplayer 2 Answers
Zooming object 0 Answers
Instantiated object is not visible in game 2 Answers
Modifying MirrorReflection2 1 Answer