Page 1 of 1

IOS troubles, Need help

PostPosted: Mon Mar 11, 2019 2:26 pm
by mememe1717
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

Re: IOS troubles, Need help

PostPosted: Wed Mar 13, 2019 10:13 am
by mememe1717
UPDATE: I have found trouble in ARkit camera and ARkit plugin. With standard camera everything works, but when ARkit camera starts -- foam effect brokes. Do you any ideas how to resolve it?

Re: IOS troubles, Need help

PostPosted: Wed Mar 13, 2019 12:19 pm
by Amplify_Borba
Hello, thank you for getting in touch and for your support!

Can you confirm that the issue only occurs when using the ARKit camera and only in the build, not in the editor?

Also, can you share a simple sample with the issue present for us to debug on our side using the same data as you?

Re: IOS troubles, Need help

PostPosted: Fri Mar 15, 2019 10:56 am
by mememe1717
Thank you for your reply, guys.

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.

Re: IOS troubles, Need help

PostPosted: Fri Mar 15, 2019 11:11 am
by Amplify_Borba
No problem, thank you for letting us know you've found a workaround and sharing your solution!

Please let us know if you come across any further issues or have any other questions.