No scene depth in mobile build?

Hi

I’m currently working on a toonish water shader in ShaderGraph (Unity 2019.3.0f6)

And I am using the scene depth node.

In the scene view I get nice results and after saving and creating new Material out of it I’m getting this effect:

152266-annotation-2020-02-04-124408.png

So happy I declared it finished and hit the “Build and Run” button only to see the water look like this in my mobile phones:

152267-annotation-2020-02-04-124444.png

Its a URP project and I did make sure “Depth Texture” is ticked in the asset file.

After a bit of a Googling here and there I find this:

Which says for a mobile build we need GL_OES_depth_texture extension to be present.

I don’t really know how to attach this extension or on which level we need to do this at all…

Can someone help in this case?

Hi @RoyBarina
Did you solve this?
I’m trying to do the same and it looks good on the quest with the link through Unity,
but when I build it as standalone Android app the water intersection effect (foam)
is rendered multiple times in layers and moving with my head when I move it.
Very strange behavior.
I’m using URP with linear render & OpenGLES3 (I tried Gamma with OpenGLES2 and no good)

Update to 2020 and URP 9 fixes it for me.