Google Cardboard setVRModeEnabled (false) displaying nothing

I am working on an application and am modifying the treasure example code. I have a visual effect that is not working correctly that I would like to debug. This is difficult to do in stereo. It seems I can just call cardboardView.setVRModeEnabled (false); in onCreate () and it would not perform distortion correction and would only do one eye. That would be great.

However, everything I see is black.

I reduced my onDrawEye () to just:

glClearColor(1.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);

      

When setVRModeEnabled is true my screen is red. When it is false, everything I see is black. Any ideas?

+3
android virtual-reality


source to share


No one has answered this question yet

Check out similar questions:

1002
How do I display an alert dialog on Android?
960
How to rotate the screen of Android emulator?
701
How do I display HTML in a TextView?
1
Cesium vr displayed with cardboard or eyepiece
1
Google Cardboard app - small screen
1
Create Simple Google Cardboard
1
Does RenderTexture work with Vuforia, Google Cardboard and Unity5?
0
How to zoom in with Google Cardboard
0
problems with displaying cardboard in S4 mini
0
Simple Google Cardboard app



All Articles
Loading...
X
Show
Funny
Dev
Pics