Hello, I was trying to implement ambient occlusion with SAO but only for some selected elements in my project.
I used solution from this topic: [SOLVED] EffectComposer + Layers.
It seems to work, but the problem i found is that, when i am using MeshStandardMaterial for selected elements, ambient occlusion does not show and elements are black. For MeshBasicMaterial everything works fine. I created fiddle with example of the problem (commented line is with MeshStandardMaterial):
Settings for SAO are default here.
Does anyone know why it works this way?