Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by tolgaturker5 · Feb 26, 2017 at 08:51 AM · invisible-objectinteractablemirrorreflection

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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by tusadi · Feb 26, 2017 at 12:26 PM

Something like this? alt text

(Here,one of the camerra is used for mirror and the other one is used as main camera)

  1. 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]

  2. Go to your main camera and uncheck the tag of those objects in the culling mask option.

  3. ?????

  4. Profit ;)


untitled.png (281.1 kB)
Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tusadi · Feb 26, 2017 at 12:29 PM 0
Share

Please mark the answer as correct if you find it helpful.

avatar image tolgaturker5 tusadi · Feb 26, 2017 at 03:34 PM 0
Share

Yep, that's what I was looking for. Thanks :)

avatar image Mufelo · May 15, 2020 at 12:49 PM 0
Share

Oh boi, this was way easier than I would have thought. Thanks!

avatar image
0

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges