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?
source to share
No one has answered this question yet
Check out similar questions: