-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot render webview in GearVR handset #81
Comments
This plugin overlays system-provided webviews as is on unity's rendering and doesn't support the side-by-side/spherically-distorted display. An easy way might be to prepare some special web pages (cf. http://through-the-interface.typepad.com/through_the_interface/2015/01/integrating-web-based-vr-samples-into-a-native-google-cardboard-app-using-the-cardboard-sdk-for-android.html ). We could extend the plugin to generate webview textures as below, theoretically, but it would take long and the implementation would tend to be tricky...
|
https://www.assetstore.unity3d.com/jp/#!/content/29346 Though I haven't tested, this might help. |
working on this project for android, it's a bit slow because it uses the cpu but hopefully will transfer to the GPU in the future. Btw, thanks @KojiNakamaru for the tips above, I followed them closely except the OpenGL stuff which will come in the future. |
@IanPhilips https://coderwall.com/p/6koh_g/rendering-any-android-view-directly-to-an-opengl-texture |
Been looking at these links, super useful! No progress yet, though. Any interest in pursuing 3D+VR rendering? |
For other solutions, you can check #612 (comment). |
Just got pinged with the comment updates, my project works very well now. It's no longer based on the cpu and instead uses the gpu. You can watch videos, etc. in 3D. https://github.com/IanPhilips/UnityOculusAndroidVRBrowser |
Hey Ian! I discovered your project not very long after my comment, do you have any contact information? I made a UI and keyboard for it |
@clovelt any reason you can't submit a PR or issue on the repo? [email protected] |
|
@geoabensur NullReferenceException: Object reference not set to an instance of an object. NullReferenceException: Object reference not set to an instance of an object. NullReferenceException: Object reference not set to an instance of an object. |
For those seeking VR-compatible solutions, I recommend checking out the following repository: https://github.com/TLabAltoh/TLabWebViewVR |
I would like to know if unity-webview has support to render pages in VR handsets like GearVR. I have included this plugin in my unity VR app and webview was not rendered properly. Is there any plan to include it as texture or something like that?
Thank you very much
The text was updated successfully, but these errors were encountered: