tamasa Posted March 23, 2023 Share Posted March 23, 2023 Hi! Out Unity app has a feature where it fades in/out the passthrough in the background (under the in-scene objects). This works on other platforms (quest for example), but we can't change the passthrough underlay opacity on HTC Vive devices. I can see that the sdk has a method for setting passthrough overlay opacity, but not for underlay. Is there any way to do it? Link to comment Share on other sites More sharing options...
Aidan Leung Posted March 23, 2023 Share Posted March 23, 2023 (edited) 1 hour ago, tamasa said: Hi! Out Unity app has a feature where it fades in/out the passthrough in the background (under the in-scene objects). This works on other platforms (quest for example), but we can't change the passthrough underlay opacity on HTC Vive devices. I can see that the sdk has a method for setting passthrough overlay opacity, but not for underlay. Is there any way to do it? Hi there, Wave SDK engineer here. As you mentioned, the API current provided by the SDK can only be used to adjust the opacity of passthrough overlays but not underlays, so allow me present you an alternative solution. Provided that you have already succeeded in showing passthrough underlay in your scene in Unity, you should have either a skybox material or the main camera background color in the scene configured in a way, such that it clears the background of the scene to transparent black (i.e. RGBA = 0,0,0,0). You should be able to achieve the same effect by adjusting the alpha value of the material or the main camera background color. Hope this helps 🙂 Edited March 23, 2023 by Aidan Leung 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now