Native C# SDK for custom engine?

Hello everyone,

Do you know if it's possible to make games for immersive headsets without Unity? I've a custom engine powered by MonoGame which already supports VR. However I don't find any SDK for C#, all seems to be for Unity.

French XR/MR developer / Indie Game Developer

Best Answer

Answers

  • Well, it's not so hard if the API is well made. Basically we've to create two render targets (one per eye). In the rendering process, we first draw the left eye and the right eye. To draw eyes we use data sent by the headset. So the minimum required to implement VR in my engine is:

    • IsDeviceConnected()
    • GetProjectionMatrix(bool leftEye, ref Matrix matrix);
    • GetViewMatrix(bool leveEye, ref Matrix matrix);
    • SubmitRenderTargets(RenderTarget left, RenderTarget right);

    And for controllers I can use the InputManager API.

    French XR/MR developer / Indie Game Developer

Sign In or Register to comment.