UI made with html cannot adapt to VR


#1

It looks like when VR mode is enabled, the html UI cannot adapt to the vr duel-camera, it only display as standard UI like the vr is not enabled.

is there anyway we can get around this?


#2

Use the PlayCanvas UI system would be your best bet.

Generally in VR experiences, the UI is presented in 3D space.


#3

yea the build in UI works perfectly with VR, but there are some contents we need to use html, that’s why I ask.


#4

Not possible as the VR view is purely in WebGL. You would have to somewhere render html/CSS to a texture and render that in the 3D world.


#5

this is a very good idea… …