Metal tessellation shader

Your feedback is very important to us. We are listening.
3d artist1987
Posts: 36
Joined: Wed May 03, 2017 4:51 am

Metal tessellation shader

Post by 3d artist1987 »

Hey,

As per roadmap unity 2018.2 support tessellation feature in ios.

But my amplify tessellation shader not working.

How to achieve tessellation effect in unity?
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Metal tessellation shader

Post by Amplify_Borba »

Hey there!

What tessellation shader are you using on ios that is currently working? Can you share it with us for further investigation, together with the ASE shader? You can do so via [email protected] if you'd rather share it privately.

The tessellation technique used in ASE is the same as Unity's so, if Unity's tessellation shaders are working in ios, so should ASE.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
3d artist1987
Posts: 36
Joined: Wed May 03, 2017 4:51 am

Re: Metal tessellation shader

Post by 3d artist1987 »

Hey,

Thanks for the response.
I am building ios app with amplify shader example only.
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Metal tessellation shader

Post by Amplify_Borba »

Could you try using one of Unity's Tessellation shader examples?

I'm sending one of them as an attachment for your convenience:
UnityTessellationSample.zip
(889 Bytes) Downloaded 3247 times
The sample I've sent is a Unity Standard shader and, since we use Unity's Tessellation on ASE, if it doesn't work it means that there is an issue on Unity side regarding support on iOS.

If this sample works, it means that there is in fact an issue on our side, and we will proceed to investigate it.

On a side note, I did notice that they mention at the end of the manual page I've shared that they've added support for Tessellation for Metal added in 2018.1, but this might not guarantee that it works on all devices.

Thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
3d artist1987
Posts: 36
Joined: Wed May 03, 2017 4:51 am

Re: Metal tessellation shader

Post by 3d artist1987 »

Hey,
Thanks for the support.
It's not working in iPhone X with unity sample tessellation shader.
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Metal tessellation shader

Post by Amplify_Borba »

Thank you for testing it on your device!

It seems that Unity's tessellation technique still has some issues, unfortunately there's nothing that we can do on our side in regards to this. As such, I'd suggest that you get in touch with Unity to report the issue you're having while also providing details such as Unity version and target device.

We'll also be keeping an eye out for any possible fixes on Unity's side regarding tessellation on iOS/Metal issues.

Apologies for the inconvenience, please don't hesitate to get back in touch if you come across any other issues.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
coldpizzapunk
Posts: 2
Joined: Sun Nov 18, 2018 8:09 pm

Re: Metal tessellation shader

Post by coldpizzapunk »

I had a similar issue. In unity 2018.2.14. I am using windows to build for Xcode on my mac. I have everything updated to 12.1 iOS, latest xCode.

So in Unity I have to set my Graphic Emulation to none to see the Tessellation in editor. I use Amplify shader and I have to also check Direct X 11 as a target in Amplify shader to see the effect in editor. But I still had issues when I went to build to my iPad (2018). Amplify tessellation materials would not show up. But Unity's Standard Tessellation shaders did work when I ran a build. So I decided to duplicate my Amplify shader and edit it in Visual Studio to match closer to the unity tessellation naming and convention. I also removed the ASE elements (so it won't open in the Amplify Shader Editor) And that worked. I now have my custom built shader from amplify working, but have lost the ability to edit it visually. I have not dived deeper yet to find the exact change I need to make, maybe it's something I am missing in the Shader Editor Properties.

So I can confirm that in a build the Unity Standard Tessellation shaders are Working. Amplify shader has some issues that can be addressed by matching closely to the Unity Standard shaders. Finally It appears that the Graphic Emulation Metal in the Unity Editor is not working with Tessellation so use None.
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Metal tessellation shader

Post by Amplify_Borba »

Hey there, could you share a sample for the test you've performed?

Also, could you provide further details on what exactly did you use? Thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
3d artist1987
Posts: 36
Joined: Wed May 03, 2017 4:51 am

Re: Metal tessellation shader

Post by 3d artist1987 »

Any update?
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Metal tessellation shader

Post by Amplify_Borba »

We've just tested our Tessellation sample, together with the Unity's Tessellation samples provided here, in the latest version of MacOS, and it seems that out sample is working in editor and also in a build ( Metal ), while Unity's own snippets are giving errors, so we're not entirely sure on what could be causing the reported issue.

We used Unity 2018's latest stable release, 2018.2.16f1, and the latest ASE version currently available from our website.

In order for us to help you any further and to successfully debug any issues you might have with the ASE, we'll need a sample project with the issue present, so that we can proceed to investigate it using the same data as you.

Samples can be shared through [email protected], if you prefer.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Post Reply