Forum Discussion
karrtoon
10 years agoExpert Protege
How to I increase the render texture size/supersample on Unity 5.4 like in older versions?
I have Unity 5.4 installed and Oculus utilities. On older versions of Unity I could increase the clarity by increasing the eye render texture size to 1.7 or so. How can I do this on Unity 5.4 and Oculus Utilities? Basically I want to do what the debug tool allows for, but inside of Unity and cannot find the settings anymore.
4 Replies
- cyberealityGrand ChampionSee:
VRSettings.renderScale
http://docs.unity3d.com/540/Documentation/ScriptReference/VR.VRSettings-renderScale.html - karrtoonExpert ProtegeThanks Cyber. Is there a reason this is not exposed as a setting when clicking on the camera prefab in the Oculus utilities anymore though? It seems like a fairly important feature to have to dig into code to adjust. I google searched for it and would have never found it if you didn't comment.
- cyberealityGrand ChampionIt's a native part of Unity now, not an Oculus specific add-on. If you wish to modify the value at runtime, then you should use this in combination: http://docs.unity3d.com/540/Documentation/ScriptReference/VR.VRSettings-renderViewportScale.html
- galopinHeroic Explorer
cybereality said:
It's a native part of Unity now, not an Oculus specific add-on. If you wish to modify the value at runtime, then you should use this in combination: http://docs.unity3d.com/540/Documentation/ScriptReference/VR.VRSettings-renderViewportScale.html
Feature request : On the DX12 interface, allow to create the swap chain texture in a heap and use placedresource to alia different resolution.
The advantage : we can use alias barrier and do performance control to adjust the rendering resolution at runtime.
Right now, it is only possible user side, and to have a last step to blit into the ovr swapchain. it means that we pay a extra copy with upscale and the timewarp is reading a bigger surface than it could have (plus it filter a filter).
That's two point of improvement for the frame that can save valuable gpu cycles.
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 years ago
- 2 months ago
- 5 years ago