From the course: Unity: Building VR User Interfaces

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using an overlay to get attention

Using an overlay to get attention - Unity Tutorial

From the course: Unity: Building VR User Interfaces

Start my 1-month free trial

Using an overlay to get attention

- [Instructor] All right. Now, we have a good idea of how our input masking is working. It's time to work on an overlay. Now in VR, when you launch the dialogue, you'll see that the dialogue follows you around, but it's still visually competing with information in the rest of the scene. We're going to use the overlay to kind of dim out everything else from the rest of the scene to make our dialogue pop forward. We're going to be doing this by putting an image directly in front of the camera and playing with sorting depth. So let's get going. Let's navigate over to the OVR player controller, and let's navigate down until we get to our center eye camera. Now note in the center eye camera here that a near plane is 0.1. So we want to add something as close to that as possible. It's opened up the center eye camera, right-click on it and create an empty. Let's go call this overlay, and let's go and add a canvas to this…

Contents