- Home /
How would I implement foveated rendering for Oculus in Unity?
I am working on my master thesis. Got an eye-tracker for Oculus and want to implement a rendering system based on the gaze of the user. How can I achieve different renderings for different parts of the HMD's screens?
Answer by JoeStrout · Sep 28, 2018 at 04:09 PM
Looks like the answer is here: https://developer.oculus.com/documentation/unity/latest/concepts/unity-advanced-go/
In short:
OVRManager.tiledMultiResLevel = OVRManager.TiledMultiResLevel.{Off/LMSLow/LMSMedium/LMSHigh};
I have used this code once and it was working fine. but then I took it out cause I was not so happy with it. But now that I wanted to try it out once more it does not work at all, which is weird.
Just to make sure it can be placed in any CSharp script that is attached to a game object like this no?
void Start () {
OVR$$anonymous$$anager.tiled$$anonymous$$ultiResLevel = OVR$$anonymous$$anager.Tiled$$anonymous$$ultiResLevel.L$$anonymous$$SHigh;
}
Any idea what I can check to make it work again? Things that have changed since I first tried it out is that I added some Post processing and animation with the timeline but nothing more than that.
I'm happy for any advice!!!
thx
Your answer
![](https://koobas.hobune.stream/wayback/20220612112740im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Target Eye Right does not work 0 Answers
What is the best way to achieve blur, bloom and desaturation on Oculus Go? 0 Answers
How does one make Stereo Rendering Path Single Pass function properly in VR? 1 Answer
Oculus "PerEyeCameras" showing blackscreen only when LWRP or URP is enabled 0 Answers
Google VR How to render scene on the whole screen and not for eyes ? 1 Answer