dsman Posted April 3, 2018 Share Posted April 3, 2018 How do we setup camera if we want to display stereo cubemap? Many renderers are able to render stereo cubemaps. Which means two separate images for each eye. How do we display it with the deviceOrientation camera? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 3, 2018 Share Posted April 3, 2018 Do you mean anaglyphic rendering or really stereo image? the deviceOrientation camera is actually built on top of two cameras, so you can load your both cubemaps displayed on a sphere and then use the scene.onBeforeCameraRenderObservable to turn on/off the right cubemap Quote Link to comment Share on other sites More sharing options...
dsman Posted April 4, 2018 Author Share Posted April 4, 2018 Ok. Got it. onBeforeCameraRenderObservable will work I think. Will check. And yeah, not anaglyphic but real stereo rendering in split screen (just like vrDeviceOrientationCamera), meant for smartphone VR box. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.