Hi All,
I am working on a project where I am trying to display a top over bottom stereoscopic image onto the inside of a sphere with flipped normals. I am running into an issue only after building to a gear vr device(Samsung Galaxy S8) where the texture appears mirrored. In the editor, and the material preview it looks fine.
I have pulled the SM_PhotoSphere asset from this tutorial:[Stereo Panoramic Capture Tool Quick Start][1]
I am using a material similar to the one posted by Sam Dieter here: [Panoramic Twist 360 video playback][2]
The image I am using is 2048x2048. I had no luck with a 4096x4096 texture on the gear vr device since I understand that’s not supported.
Attached are some images to help explain my issue a little better:
Looks correct in the editor: [Editor][3]
Looks correct(albeit upside down in the material preview): [material preview unmirrored][5]
In the texture coordinate setup I used Un Mirror V to get it to look right in the preview and editor: [texture coordinate setup][7]
If Un Mirror V is unchecked I see the material preview looks similar to what it looks like on the device if it is built and that option is checked: [material preview mirrored][9]
I’ve tried using customized uvs since that is recommended for Gear VR builds, but it doesn’t let me use the Un Mirror V checkbox, i get this error: Error [SM5] Material.usf(1580,20-68): error X3017: ‘UnMirrorV’: cannot implicitly convert from ‘struct FMaterialVertexParameters’ to ‘struct FMaterialPixelParameters’
Is there a way to use Customized UVs and also Un Mirror V together?
Could this be a build setting that is causing this?
Thanks in advance for your input!