Can you disable ambient occlusion for a particular mesh?

AO is messing up the way my foliage is rending but I’d like to use it on other parts of the scene, is there any way I can disable is only for certain meshes?

1 Like

Not right now. SSAO is computed in a deferred way which makes it very fast but also means it can’t easily support per-object settings.

1 Like

Hi, Is this supported now?

1 Like

Hi, Is this supported now?

1 Like

Also wondering about this.

1 Like

Hi, Is this supported now? Please

1 Like

Hi, Is this supported now?

1 Like

What is the best work-around to get AO per object?

1 Like

Hi, Is this supported now?

1 Like

We did it by using custom depth stencils and then in the shader code we only apply AO to the objects that have the stencil values we want.

1 Like

That’s a good idea, but those meshes will only receive the AO or have self-AO, but won’t project AO over other meshes. For example: a room where you don’t wanto any AO, because you have baked the lighting, but you want the Character to receive AO and to project AO over the floor and walls. That wouldn’t fit, right?

1 Like

Hi, is this supported now?

1 Like

@UnrealOfficial1 Hi, is this supported now???