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?

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.

Hi, Is this supported now?

Hi, Is this supported now?

Also wondering about this.

Hi, Is this supported now? Please

Hi, Is this supported now?

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

Hi, Is this supported now?

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.

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?