RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
226 stars 28 forks source link

Force Eye Mode with Android OES #213

Closed travismmorgan closed 4 years ago

travismmorgan commented 4 years ago

Describe the bug Setting the 'Update Stereo Material' Force Eye Mode does not work when Android Fast OES Path is enabled.

Your Setup (please complete the following information):

To Reproduce

  1. Enable Fast OES Path
  2. Set 'Force Eye Mode' to Left
  3. See stereo video still renders both eyes/3D
Ste-RH commented 4 years ago

@travismmorgan

'Force Eye Mode' does not currently exist in the OES shader (AVProVideo-VR-InsideSphere-AndroidOES.shader)...

So have you brought over the relevant parts from the shader that does include it? (AVProVideo-VR-InsideSphere-StereoUV.shader)

travismmorgan commented 4 years ago

Confirmed modifying the OES shader to include the Force Eye components from the regular shader fixes this issue.

Ste-RH commented 4 years ago

Awesome

bhermer commented 3 years ago

Hi, we are having htis same problem. What was the fix? we are on the last up to date version 1. Really dont want to may a huge upgrade to version 2

Ste-RH commented 3 years ago

I will post up a modified shader @bhermer. Just need to test it...

Ste-RH commented 3 years ago

@bhermer Here is a modified script that supports the 'Force Eye Mode' when OES is enabled on Android

AVProVideo-VR-InsideSphere-AndroidOES.zip

bhermer commented 3 years ago

Your a legend. Thank you

On Wed, 27 Jan 2021, 18:50 Ste Butcher, notifications@github.com wrote:

@bhermer https://github.com/bhermer Here is a modified script that supports the 'Force Eye Mode' when OES is enabled on Android

AVProVideo-VR-InsideSphere-AndroidOES.zip https://github.com/RenderHeads/UnityPlugin-AVProVideo/files/5882384/AVProVideo-VR-InsideSphere-AndroidOES.zip

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/213#issuecomment-768496158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGA7Z2R7UW2NMVBF67OWW3S4BN5RANCNFSM4JICVG6Q .