Forum Discussion
gunair
11 years agoExplorer
Frame rate too high = judder! How to force only 75 frames???
Hello from Germany. I have an unusual problem. I worked hard in the last weeks to optimize the performance of my demo scene to get 75 frames. Now I was nearly successfull - the judder is nearly gon...
CubicleNinjas
11 years agoProtege
"Proton" wrote:
I get best results in DX11
Edit > Project Settings > Player
> Other Settings
> Use Direct3D 11
The Oculus driver seems to handle VSync. So you can use code like this to turn it on and off:if (OVRDevice.HMD != null) {
uint caps = OVRDevice.HMD.GetEnabledCaps();
if (!useVsync)
caps |= (uint)OVR.ovrHmdCaps.ovrHmdCap_NoVSync;
else
caps &= ~(uint)OVR.ovrHmdCaps.ovrHmdCap_NoVSync;
OVRDevice.HMD.SetEnabledCaps(caps);
}
Thank you Proton! You've saved me twice in one day with these tips. Really appreciate it.
When I use the above Unity loses its mind. I've probably implemented it incorrectly, but curious as to how it should be used as I'm not familiar with C#. Right now I'm defining a public class and using this in the start area, but that isn't working for me.
And can confirm with Molton that DX9 requires every VBlank as well for best performance.
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
- 11 months ago
- 2 years ago
- 2 months ago