Forum Discussion
samra_khan_2494
6 years agoHonored Guest
How to achieve antiAliasing in VR (Oculus Rift S and Quest)
My problem is how can I get rid of jagged edges in my scene, especially with UI elements.
HDRP is not supported for oculus quest apk. I have tried the following things but neither solves my problem:
- quality setting anti Aliasing set tp 2X multi-sampling
- CenterEyeAnchor Camera's rendering path to forward, turn on MSAA.
Here is the script i have attached in the scene:
using UnityEngine;
using UnityEngine.XR;
public class VRRenderScale : MonoBehaviour {
void Start () {
XRSettings.eyeTextureResolutionScale = 1.5f;
}
}4 Replies
Replies have been turned off for this discussion
- WeitinProtegeFor UI elements, you can try to tweak the CanvasScaler values or play around with the mip maps on your textures
- AnonymousThere are a lot of issues using the Lightweight Render Pipeline (aka Universal Render Pipeline or LWRP) on the Quest, but one thing that definitely works is MSAA. I haven't tried using `eyeTextureResolutionScale`, so I can't guarantee it's compatible with that, but you can get readable UI text.
(Edit: This pic was taken on a Quest. The scene is using 4x MSAA.)- buymeacoffeeHonored Guest
How did you solve this? I am unable to get this quality even after using MSAA.
- briankrealityHonored Guest
For everyone else who encounters this, delete SSAO from the Renderer Features list on the Renderer you are using, instead of just unchecking it. For some reason if you don't you get this issue. I spent hours trying to figure this out and scanned every forum post.
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
- 11 months ago
- 6 months ago
- 4 years agoAnonymous