Flafla2 / Vive-Teleporter

A framework for Unity3D that automatically generates teleporter boundaries and facilitates the teleporter mechanic, similarly to Valve's "The Lab"
MIT License
394 stars 93 forks source link

Rendered Meshes now respect the gameObject's layer #19

Closed meoiswa closed 8 years ago

meoiswa commented 8 years ago

I just changed the rendering scripts to use the gameObject's layer to render at, instead of defaulting to layer 0. I did this in order to be able to hide the teleporting graphics in other cameras in a split-screen multiplayer environment.

meoiswa commented 8 years ago

https://youtu.be/tpmK_WJzEuQ Demonstration using the Display Mirror function of SteamVR

Flafla2 commented 8 years ago

LGTM, very elegant solution using gameObject's render layer.