LevAnni
(Lev Anni)
August 12, 2021, 6:38pm
1
Guys, can anyone help me out in this?
If I set AO in compositing my HDR image goes black, depending AO factor. Is there any trick to leave HDR image alone and affect only objects?
This is before:
And this is after Fac is 1
Note that more there is Fac value, more it affects HDR.
LevAnni
(Lev Anni)
August 12, 2021, 6:44pm
4
This multiply Fac value controls how much AO is multiplied
gorion103
(Zuorion)
August 12, 2021, 7:00pm
5
Oh, Alpha dont take in account environment, weird.
So just use depth buffer to get alpha mask of all objects
Also, you could enable the environment pass and use it instead. I think it would be a bit better since it’s antialiased and has transparency
LevAnni
(Lev Anni)
August 12, 2021, 7:13pm
7
Nice approach, have to dig how it’s done but anyway, got some artifacts, AA thing… Also, how can I control Multiply value?
LevAnni
(Lev Anni)
August 12, 2021, 7:17pm
8
Andrew, can you point exactly where Env should go? I have rendered new image with Env pass enabled.
LevAnni
(Lev Anni)
August 12, 2021, 7:28pm
10
I think Alpha channel doesn’t look great
Yeah, I don’t think that will work, try something like this:
The antialiasing node helps to smooth the edges, but it’s quite slow, so you might only want to use it for a final render rather than while working on it.
LevAnni
(Lev Anni)
August 12, 2021, 9:54pm
12
Guys, thank you for your help!