Hey, guys, I create an AR app for IOS. In my app I use a slightly modified amplify water shader https://www.youtube.com/watch?v=UU-iAEZfK4o. As I have understood, foam and depth effect works only when shadows on the direction light enabled. So on the old IPad(2015) -- this shader looks good, but on new IPad(2017) and Iphone 8 this shader looks like shadows disabled on the scene, but they are enabled. Shadows works in editor, on the old IPad, but on on the new IPad they didn't. I use the same project/quality/graphic settings and the same build. I have taken logs and they have shown that shadows works, but new IPad did not visualise it. As I know new IPad have different hardware -- processor. And It looks weird to me that new IPad doesn't support shadows. I need help and an advice, cause deadline is coming.
1)https://pasteboard.co/I4W2Gpb.png -- How build works on the old IPad 2)https://pasteboard.co/I4W3mMB.png -- How the same build works on the new IPad and IPhone
I have found a solution!! In the water shader now I use a "depth fade node" instead "screen position + screen depth nodes". And it works! I think that pair "screen position + screen depth" have a conflict with ARKit camera, but it's only my suggestion.