UnityPlugin-AVProVideo icon indicating copy to clipboard operation
UnityPlugin-AVProVideo copied to clipboard

IPD Correction

Open Anton111111 opened this issue 1 year ago • 3 comments

Does AVPro ability to add some IPD correction for stereo video?

Anton111111 avatar Jun 06 '24 11:06 Anton111111

I would like to clarify the question. I am interested in the possibility to change the distance between the frame for the left and right eyes. This is necessary to "fix" for scenes that were put together wrong.

Do I understand correctly that it should be somewhere in the shader (AVProVideo-VR-InsideSphere..)?

Anton111111 avatar Jun 08 '24 04:06 Anton111111

@Chris-RH , @RichRH , Can you say anything about it?

Anton111111 avatar Jul 01 '24 14:07 Anton111111

Hi @Anton111111,

AVPro Video doesn't currently have any support for IPD correction - it ultimately just outputs a full texture for each eye (the source will naturally have its own IPD) that Unity then renders to the attached device.

Unity does provide a setting but as the documentation suggests, it is limited by vendors: https://docs.unity3d.com/ScriptReference/Camera-stereoSeparation.html

This may be something we look into in the future as an enhancement, and may to some degree be able to help correct using shaders as you suggest, but as a small team we have to choose our battles carefully based on priority and demand.

Cheers,

RichRH avatar Jul 01 '24 15:07 RichRH