Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
karrtoon's avatar
karrtoon
Expert Protege
10 years ago

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

  • karrtoon's avatar
    karrtoon
    Expert Protege
    Thanks 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.
  • 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
  • galopin's avatar
    galopin
    Heroic Explorer


    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.