# Material AO and a movable Skylight

**URL:** <https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880>\
**Category:** Rendering\
**Tags:** skylight, movable, unreal-engine, ambient-occlusion, question\
**Created:** [October 22, 2014, 12:45am UTC](https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880 "2014-10-22T00:45:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshezzell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joshezzell](https://forums.unrealengine.com/u/joshezzell)\
**Post date:** [October 22, 2014, 12:45am UTC](https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880/1 "2014-10-22T00:45:15Z")

</div>

Whenever I switch the Skylight over to a movable light all my AO plugged into my materials AO inputs turn off. Is this intended? I can share images if necessary, but this is pretty self explanatory. It partly defeats the purpose of PBR and has negative affects on your environment.

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [October 22, 2014, 2:20pm UTC](https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880/2 "2014-10-22T14:20:19Z")

</div>

Hey joshezzell -

I am not seeing my Material AO disappear as you describe. Have you tried to go into the Lighmass settings and check the visualize Ambient Occlusion check box to true?

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![joshezzell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joshezzell](https://forums.unrealengine.com/u/joshezzell)\
**Post date:** [February 17, 2015, 4:40am UTC](https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880/3 "2015-02-17T04:40:54Z")

</div>

Hey Eric,

I have been meaning to reply to this thread for awhile. The issue is still present for me. Our game is using a fully dynamic light setup. We want to use a movable skylight for many reasons. Here is a video clearly showing the issue:

[![]( " - YouTube") ](https://www.youtube.com/watch?v=usI9ntPevLE)

Also, I have noticed that the buffer visualization for Material Ambient Occlusion doesn’t show anything but white. This has been here since UE4’s release I believe. Is this a bug or intentional?

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [February 20, 2015, 3:46pm UTC](https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880/4 "2015-02-20T15:46:50Z")

</div>

Hey joshezzell -

MaterialAO BUffer visualization was “removed” (actually set to 1 in code) in order to allow the GBuffer to be used for further Shader Models. It is true that currently Material AO does not work with Movable Sky Lights, but stay tuned.

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![joshezzell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joshezzell](https://forums.unrealengine.com/u/joshezzell)\
**Post date:** [February 21, 2015, 12:50am UTC](https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880/6 "2015-02-21T00:50:47Z")

</div>

Fantastic! You guys are the best. This was really bugging me and now our PBR materials will look just fine. Thank you.

---

<div class="post-metadata">

**Author:** ![Sn\_a\_ke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sn\_a\_ke](https://forums.unrealengine.com/u/Sn_a_ke)\
**Post date:** [January 27, 2017, 10:41pm UTC](https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880/7 "2017-01-27T22:41:32Z")

</div>

Material AO and a movable Skylight still does not work in 4.14. In particular I would like to use materialAO with DFAO, are there any news on this issue?

---

<div class="post-metadata">

**Author:** ![Fisher007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fisher007](https://forums.unrealengine.com/u/Fisher007)\
**Post date:** [March 22, 2017, 6:28pm UTC](https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880/8 "2017-03-22T18:28:51Z")

</div>

I’m also interested in that!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1d736ae51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1d736ae51](https://forums.unrealengine.com/u/anonymous_user_1d736ae51)\
**Post date:** [June 10, 2017, 10:23am UTC](https://forums.unrealengine.com/t/material-ao-and-a-movable-skylight/296880/9 "2017-06-10T10:23:26Z")

</div>

if i multiply base color with AO, how this setup will render on metallic surface? first shader will calculate reflectance values based on base color and metallic mask\< and then on top will cover AO, or reflectanse values will be computed out of base color+ao?
