Metal tessellation shader

Your feedback is very important to us. We are listening.
coldpizzapunk
Posts: 2
Joined: Sun Nov 18, 2018 8:09 pm

Re: Metal tessellation shader

Post by coldpizzapunk »

I will send a sample of what I did with my current setup. I also wanted to clarify that I am on a Windows Machine doing an iOS build with Metal as the Target Graphics API. Further I wanted to note that this is an ARKIT experience. I was able to get it working as described in my previous post, so I know it does work.

I will also download the latest Unity (2018.2.16f1) and Amplify to see if that fixes the issue.
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 taking the time to prepare a sample and for sharing additional details, we really appreciate it!
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,

I test unity tessellation sample in iPad 2018 it's worked.
When applied amplify shader to object, Object not getting the effect. Its showing pink & after that object disappear.
Thanks in advance.
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Metal tessellation shader

Post by Ricardo Teixeira »

dev19872014 wrote:Hey,

I test unity tessellation sample in iPad 2018 it's worked.
When applied amplify shader to object, Object not getting the effect. Its showing pink & after that object disappear.
Thanks in advance.
We could really use a sample for further testing, will that be possible?

Thanks!
Sales & 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 »

Hi,

If you want to test your shader I will check on my iPad.
But I really want tessellation support in my app.

Thanks in advance.
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Metal tessellation shader

Post by Amplify_Borba »

Hello, what we mean is that we would like to test ourselves both the Unity and ASE shaders that you've tested.

Could you share those two shaders with us, so that we can investigate?

If you prefer you can send them to us through [email protected], thank you!
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 »

Ohh, Sorry for the misunderstanding.
Thanks for relying upon.
Attachments
UnityTessellationSample.rar
(829 Bytes) Downloaded 1895 times
AmplifyTesslation.rar
(1.65 KiB) Downloaded 1460 times
3d artist1987
Posts: 36
Joined: Wed May 03, 2017 4:51 am

Re: Metal tessellation shader

Post by 3d artist1987 »

Hey,

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

Re: Metal tessellation shader

Post by Amplify_Borba »

Hello, your ticket is still in queue for the developer to investigate, we'll be sure to get back in touch as soon as we have any new information to share, thank you for understanding!
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!
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 examined the shaders you've shared, and noticed that the Unity sample is for the Fixed Tessellation Type:

Code: Select all

#pragma surface surf BlinnPhong addshadow fullforwardshadows vertex:disp tessellate:tessFixed nolightmap
Which is currently working on Mac, and the same applies for the ASE shaders that have its Type set to Fixed as well, since we use Unity's own implementation of this technique.

The ASE shader you've sent, however, has its Tessellation Type set to Edge Length ( not Fixed like the Unity Shader ), which breaks both on the Unity Sample and ASE authored shaders:

Code: Select all

return UnityEdgeLengthBasedTess (v0.vertex, v1.vertex, v2.vertex, _EdgeLength);
Setting the ASE sample you've sent to Tessellation Type - Fixed, will make it work in the same way as Unity's own.

Image

We've double-checked and Unity's own Edge Length sample also breaks, just to clear any doubts.

Also, please note that, unlike the Shaded Mode, the Wireframe Shading Mode in the Scene View seems to be broken on Mac, and it won't display the correct preview.

Unfortunately, there's nothing we can do on our end regarding the Tessellation issues on Mac since, as I've previously mentioned, we use Unity's Tessellation technique, which seems to still has some issues that they need to fix on their side.

Please let us know if you have any further questions, thank you!
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