Page 1 of 1

use AS on PS4

PostPosted: Mon Sep 11, 2017 9:45 am
by icarus0508
Hi
We are using Amplify Shader Editor to make a PS4/PC game, however we had faced build error "Ambiguous call to "lerp()"" during PS4-building.

The reason is that the PS4 shader compiler can not decided function polymorphism, so in order to fix the problem we modified the final shader that ASE created.

My question is : Is this the proper way to fix the issue? Can I fix the problem by modify the editor setting? If it's a bug, do we have a future patch to fix it?

Thank You , Andrew

Re: use AS on PS4

PostPosted: Mon Sep 11, 2017 10:03 am
by Ricardo Teixeira
icarus0508 wrote:Hi
We are using Amplify Shader Editor to make a PS4/PC game, however we had faced build error "Ambiguous call to "lerp()"" during PS4-building.

The reason is that the PS4 shader compiler can not decided function polymorphism, so in order to fix the problem we modified the final shader that ASE created.

My question is : Is this the proper way to fix the issue? Can I fix the problem by modify the editor setting? If it's a bug, do we have a future patch to fix it?

Thank You , Andrew


Hello Andrew,

Thank you for bringing this issue to our attention, we really appreciate it. Can you share the solution directly to [email protected]? We would be happy to look into an official fix ASAP.

What's your current Unity and ASE version?

We update ASE almost daily, you can always pick up the latest version directly from our website.

Thanks!

Re: use AS on PS4

PostPosted: Tue Sep 12, 2017 2:24 am
by icarus0508
Sure I will love to share my result and version to you guys. Ty

Re: use AS on PS4

PostPosted: Tue Sep 12, 2017 4:29 am
by icarus0508
Hi
I had sent you the email with the shader codes which face the error.
we tested on Unity 2017.1.0f3 with ASE V.1.02/v.1.03   PS4 SDK version is SDK4.508.101

Ty for helping

BR , Andrew :D

Re: use AS on PS4

PostPosted: Tue Sep 12, 2017 9:14 am
by Ricardo Teixeira
icarus0508 wrote:Hi
I had sent you the email with the shader codes which face the error.
we tested on Unity 2017.1.0f3 with ASE V.1.02/v.1.03   PS4 SDK version is SDK4.508.101

Ty for helping

BR , Andrew :D


Thanks Andrew, we will examine the sample and get back to you as soon as possible.

Re: use AS on PS4

PostPosted: Wed Oct 11, 2017 8:12 pm
by Ricardo Teixeira
Quick update,
The latest update should resolve the reported issues.

Latest version: Download