Ambient Occlusion goes trough depth object rendering

I have made some renderer features, so that my weapon doesn’t clip through the objects, but also I have AO enabled. It renderers above my objects. Is there any way to fix this?

I made two object renderers: first depth test = Always, second depth test = Less Equal

Doesn’t the order of render features determine the order of rendering like this?

1 Like

Yes, making a right order worked , didnt know it was matter. Just placed AO above any render