Post process ao in material

it seems like post process ao is affected by the skylight ,
i wanted to use that post process ao without skylight directly in the material because my scene has a single spot light
and no skylight so is there a way to get the post process ao in the material ?

You can use Precomputed AO mask. You need to bake lighting with these settings in your World Settings (the underlined). Then in the material use Precomputed AO mask node.

EDIT: Last 2 options are set to 0 if you do not want to bake lighting just the AO masks.

305575-preao.png

1 Like

This was very helpful, I had the same problem and it fixed it. thank you!