# No ambient occlusion in VR

**URL:** <https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560>\
**Category:** Rendering\
**Tags:** Virtual-Reality, ao, unreal-engine, ambient-occlusion, Rendering, question\
**Created:** [October 5, 2016, 9:04pm UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560 "2016-10-05T21:04:55Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elias\_Leonard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elias\_Leonard](https://forums.unrealengine.com/u/Elias_Leonard)\
**Post date:** [October 5, 2016, 9:04pm UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/1 "2016-10-05T21:04:55Z")

</div>

So I have no visible ambient occlusion in projects created with the Virtual Reality template.  
My screen is completely white in buffer visualization (Ambient occlusion).

I tried:

- adding post processing volumes with the ambient occlusion cranked up
- going to project settings → rendering → enabled ambient occlusion & ambient occlusion static fraction
- export project setting from another project with AO working (for example the First person shooter template) and importing it into my virtual reality project
- baking my light with and without light reflection capture (which shouldn’t make a difference, but who knows)

Also I’m using version 4.13.1 and I have the same problem on different PC’s in different projects all created with the VR template

> **[No ambient occlusion in VR!? (Virtual reality teplate project)](https://forums.unrealengine.com/showthread.php?124974-No-ambient-occlusion-in-VR%21-%28Virtual-reality-teplate-project%29&p=604734#post604734)**
>
> So I have no visible ambient occlusion in projects created with the Virtual Reality template. My screen is completely white in buffer visualization (Ambient occlusion). I tried: adding post processing volumes with the ambient occlusion cranked up...

 ![NoAmbientOcclusion.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/7/778c4267d42f519df5187b4e2a91e6280c12d060.jpeg)

---

<div class="post-metadata">

**Author:** ![Night\_Watcher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/night_watcher/32/1145400_2.png) [@Night\_Watcher](https://forums.unrealengine.com/u/Night_Watcher)\
**Post date:** [October 6, 2016, 12:27am UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/2 "2016-10-06T00:27:18Z")

</div>

That’s strange, I know that AO is heavy for VR and is disabled by default, but I don’t know why it is not working after enabling it manually in the postprocess effect. Try setting the post process volume to unbound?

---

<div class="post-metadata">

**Author:** ![Elias\_Leonard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elias\_Leonard](https://forums.unrealengine.com/u/Elias_Leonard)\
**Post date:** [October 7, 2016, 7:45am UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/3 "2016-10-07T07:45:34Z")

</div>

No, doesn’t work 😕  
Also tried setting AO to true in the .ini files and using a command line in the console to enable it. But nothing worked.

You can check out this thread [No ambient occlusion in VR!? (Virtual reality teplate project) - Rendering - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?124974-No-ambient-occlusion-in-VR!-(Virtual-reality-teplate-project))

---

<div class="post-metadata">

**Author:** ![Jonas\_Molgaard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonas\_Molgaard](https://forums.unrealengine.com/u/Jonas_Molgaard)\
**Post date:** [October 27, 2017, 11:25am UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/4 "2017-10-27T11:25:54Z")

</div>

Did you find the answer to this? Im trying to get a nicely lit environment with Static Skylight and Stationary Directional light as suggested by a lot of people, problem is that it looks very flat, especially in areas (indoor) where there are primarely indirect light, so i thought i could soften it up with baked AO… but no matter what i’ve done so far, i get the same white screen as you. I’ve searched for some good examples, and people that has it working, has showed results, but not how they got to those results. So im hoping someone would be so kind to post a working project which show how to set it up properly.

---

<div class="post-metadata">

**Author:** ![Elias\_Leonard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elias\_Leonard](https://forums.unrealengine.com/u/Elias_Leonard)\
**Post date:** [October 27, 2017, 11:47am UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/5 "2017-10-27T11:47:09Z")

</div>

no, it’s a long time ago, but i know it was turned off in some text file from the project.  
So if you dig deep you can actually turn it on again if you want to dig in the code.  
But be careful because i know my project crashed when I did that so maybe it’s turned off for a good reason. Maybe they already updated it since then, don’t know :s sorry man.

---

<div class="post-metadata">

**Author:** ![Jonas\_Molgaard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonas\_Molgaard](https://forums.unrealengine.com/u/Jonas_Molgaard)\
**Post date:** [October 27, 2017, 11:50am UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/6 "2017-10-27T11:50:52Z")

</div>

hmm, so if i understand you correct, you had to make an engine ini change in order for these settings to have any effect?

---

<div class="post-metadata">

**Author:** ![Elias\_Leonard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elias\_Leonard](https://forums.unrealengine.com/u/Elias_Leonard)\
**Post date:** [October 27, 2017, 11:54am UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/7 "2017-10-27T11:54:01Z")

</div>

yes correct, I turned it on everywhere i could. So project setting etc etc but since that didn’t do anything I went into some text file (the .ini that was probably) and turned it on in that as well.  
Let me know if it worked for you. I know it caused some crashes with me so I just turned it off again 😕

---

<div class="post-metadata">

**Author:** ![6r0m](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/6r0m/32/1194563_2.png) [@6r0m](https://forums.unrealengine.com/u/6r0m)\
**Post date:** [October 27, 2017, 12:48pm UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/8 "2017-10-27T12:48:39Z")

</div>

all of this commands enabled ?

 ![218121-53410cd6aa.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/9/e4978bed8938ccd85054f10364e7729840896a57.jpeg)

---

<div class="post-metadata">

**Author:** ![Elias\_Leonard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elias\_Leonard](https://forums.unrealengine.com/u/Elias_Leonard)\
**Post date:** [October 27, 2017, 12:53pm UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/9 "2017-10-27T12:53:22Z")

</div>

jup and if i remember correctly, it didn’t work for me if i did it with a command. I really had to change it manually in some files

---

<div class="post-metadata">

**Author:** ![6r0m](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/6r0m/32/1194563_2.png) [@6r0m](https://forums.unrealengine.com/u/6r0m)\
**Post date:** [October 27, 2017, 1:05pm UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/10 "2017-10-27T13:05:36Z")

</div>

just check what is exactly off

---

<div class="post-metadata">

**Author:** ![rfellers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rfellers](https://forums.unrealengine.com/u/rfellers)\
**Post date:** [November 1, 2017, 2:55pm UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/11 "2017-11-01T14:55:28Z")

</div>

Are you using forward rendering? If so, AO is not supported.

---

<div class="post-metadata">

**Author:** ![Elias\_Leonard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elias\_Leonard](https://forums.unrealengine.com/u/Elias_Leonard)\
**Post date:** [November 2, 2017, 8:33am UTC](https://forums.unrealengine.com/t/no-ambient-occlusion-in-vr/372560/12 "2017-11-02T08:33:26Z")

</div>

pfff sorry really can’t remember if we used forward or deferred. My best gues is forward so that could explain the crash as well when i forced the AO on
