Question by
Timo_Ho · May 01, 2017 at 09:53 PM ·
shaderpost processingambient occlusion
PostProcessingStack Ambient Occlusion not working
I'm using Unity 5.6 and the latest PostProcessingStack from the Asset Store. Ambient Occlusion works fine with the standard shader, but with my own shader the AO debug view is just white. I noticed that the normals view is also blank. Shader
shader.txt
(3.9 kB)
Comment
Answer by immanuelsteiner · Sep 05, 2017 at 09:28 PM
Are you using Orthographic camera? I'm finding that AO is only working with Perspective. About to post a specific question about this myself.
Your answer
Follow this Question
Related Questions
Own post-processing in URP 0 Answers
ShaderGraph Multiple RenderTargets 0 Answers
Representing Lens Distortion coordinates in 2D I with my custom lens shader - What am I doing wrong? 0 Answers
How to enhance 3D graphics in Unity for mobile devices? 0 Answers
How to create color balance shader? 0 Answers