Forum Discussion
phileday
12 years agoMember
Turning off Vsync in 0.4.3?
i have a video plugin in my Unity project that goes very juddery when Vsync is on. I'd like to turn it off but don't know how to do it. I've read other post that refer to Vsync via EnabledCaps but don...
phileday
12 years agoMember
I have set the quality setting to no sync but I think that the SDK forces it on. There is a line in the OVRManager.cs that reads.
// Except for D3D9, SDK rendering forces vsync unless you pass ovrHmdCap_NoVSync to Hmd.SetEnabledCaps().
I don't know how to do this though.
I have
In the script I want
For some reason it return 640. I don't know why.
There is also a line in OvrCapi.cs
I think I have difficultly as a lot of the talk on this is programming in C# so I can't directly translate it.
// Except for D3D9, SDK rendering forces vsync unless you pass ovrHmdCap_NoVSync to Hmd.SetEnabledCaps().
I don't know how to do this though.
I have
Debug.Log(OVRManager.capiHmd.GetEnabledCaps());
In the script I want
For some reason it return 640. I don't know why.
There is also a line in OvrCapi.cs
/// Support rendering without VSync for debugging.
/// </summary>
NoVSync = 0x1000,
I think I have difficultly as a lot of the talk on this is programming in C# so I can't directly translate it.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago