SSAO issue

Whenever I use SSAO it seems that the occlusion pass is overlaying all other things.

I have included an image as example.

Any ideas?

Many thanks

245616--8830--$ssao_issues_856.jpg

Whatever shader you’re using for those people in front is not writing to the depth+normal buffer.

Same thing just happened to me. You are probably using custom shaders as cannon mentioned.

Just add the opaque tag into your shader:

SubShader {
		  Tags { "RenderType"="Opaque" }

Many thanks to both of you.

They were in fact using the ‘Bumped Color Spectular’ from the unity wiki.

Problem is now solved.

A+ for Proton for helping someone who has not yet dared to enter the obscure, dark and perilous world of shader programming :smile: