Shader compile failure with SceneDepth in mobile and PC, ES3_1

LogMaterial: (Node SceneTexture) SceneDepth lookups are only available when BlendableLocation is BeforeTranslucency or BeforeTonemapping

How to fix this???

Oh, I met the same problem, Do you find the solution?

You will find these settings in the Details Section for the material under Post Process Material. Just select your material node and change these to a supported value.

310642-mat-1.png