- Home /
World Space UI as an in-game computer screen!
Hey,
I'm working on a VR game for Vive in which there is a tablet computer 3d model hovering on one of the controllers that acts a digital accomplice throughout the game. The user will be able to interact with this computer screen using their other controller. The contents of the screen is nothing but UGUI. So far I've tried these two approaches
Used a separate camera for UI and used the render texture from that camera as the albedo map for the computer screen material. Pros : - Screen looks realistic under all lighting conditions - There is no overlap between 2D UI & 3D computer model. Cons : - Cant interact with the UI using the controller.
Changed the canvas type to world space and placed it as a screen for the computer model. Pros : - Can directly interact with the UI elements using the other controller. Cons : - Looks the same in all lighting condition - There is a temporary overlap between 2D UI & 3D computer model when its moving.
I have looked around the forums and came across a similar post here. Difference is that in my case there is no mouse. Its a controller in world space that is casting a ray to a UI in world space. What is the best approach for doing this? Bottom line is that I just need a UI on a computer screen with which I can interact using my controllers.
Thanks
Your answer
Follow this Question
Related Questions
UI canvas attached to vive controller disappears after first run in editor on vive 0 Answers
Strange UI Button hover offset when using Worldspace Canvas in VR 4 Answers
How to make a world canvas visible only from front side in a VR game ? 0 Answers
Scalewithscreensize equivalent for worldspace canvas's 0 Answers
How to stop collider from interfering with world space canvas? 1 Answer