Is it possible to render an object on one screen only with google-vr?

梦想的初衷 提交于 2019-12-12 05:40:10

问题


Using google-vr and unity, I would like to display certain objects on one view/screen/eye only. So that object would be visible on one eye and not on the other. Is that possible, and if so, how?


回答1:


Using Layers

  • For your object, set its Layer to "Water" (as an example)
  • Select "Main Camera Right"
  • From Culling Mask drop-down, disable "Water" layer (now this camera won't see any objects on that layer)

More info: https://docs.unity3d.com/Manual/Layers.html



来源:https://stackoverflow.com/questions/38237632/is-it-possible-to-render-an-object-on-one-screen-only-with-google-vr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!