GearVR - Stereo video not rendering correctly
I am currently working on a GearVR game and need to play a 360° video in 3D (stereo, 2048x2048 whereas upper half is left, lower right eye). In the editor it's working fine with Oculus DK2 but on the Gear the movie texture is distorted (looks like texture is set to clamped and only 1px wide). I use the ScreenPosition in the main material to determine which eye should get which part of the video (left, right eye). The material is applied to a sphere with normals facing inwards.
Mono video playback works fine so far. So is it possible that ScreenPosition isn't working on mobile or isn't it working when MobileHDR is disabled (which is needed in order to get the build running on the Gear)? Is anyone here with a similar project and got it working?
The material I am using:
Currently using UE4.11.0
Figured out that multiplying the UVs with -1 was the issue. Seems that the UVs on mobile MUST be within 0..1 range or so.
Edit: You need to also have a TouchInterface setup in your ProjectSettings -> Input with transparent textures applied and opacity set to 1 for the controls. Otherwise the material won't work and shows the video in screen space for whatever reason.
Follow this question
Once you sign in you will be able to subscribe for any updates here