Search Unity

OPENGL RENDERING IN VR HMD

Discussion in 'General Graphics' started by schnuerer, Feb 18, 2019.

  1. schnuerer

    schnuerer

    Joined:
    Feb 18, 2019
    Posts:
    2
    We are trying to implement a Native Rendering Plugin in order to render external OpenGL-source
    inside a VR-application for the Oculus Rift. OpenGL code is written in C++.
    The rendering the OpenGL-computed triangle only appears on the monitor, not inside the VR-headset.
    Is there a way to set the triangle relative to a gameObject inside Unity like the Unity OpenGL emulated command “GL.MultMatrix(MultMatrix.localToWorldMatrix);” produces?
    Thank you very much and best regards

    upload_2019-2-18_10-33-19.png