Download

Scene Capture 2D and VR and VR HUD

Hi everybody, I´ve just landed in Unreal and I have some doubts about VR and I hope you can help me.

I´m currently working on a 3D HUD which is rendered into a texture using a SceneCapture2D and added later on top of the final render using a post process effect. I tried adding an offset in the uvs as part of the post process effect but I´m not sure if this is the best way to do it and I have some questions:

  1. I basically need and offset for each eye in the HUD, what would be the best way to get it?

  2. Is the SceneCapture2D rendering two times (one for the left eye and one for the right) to the texture per tick?

  3. I thought about finding in C++ the point where it calls to the function that creates the render for the SceneCapture2D and depending on which eye is the render for applying an eye offset . Would that work?

Thanks in advance.