ios optimization

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

ios optimization

Post by 3d artist1987 »

Hey,

How to optimize ReflectRefractSoapBubble shader for ios (iPhone X).
Its working good but its drop fps.

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

Re: ios optimization

Post by Amplify_Borba »

Hey there!

You can try setting the Precision parameter to Half, in the Output Node's Parameters, as per the screenshot below:

Image

Additionally, the Local Vertex Offset can also be simplified or simply removed, if you don't need the vertex manipulation operations, and you can also lower the textures' resolution.

If possible, could you also share additional details regarding your performance tests, such as how does the scene perform without the Bubble shader and how many objects are using 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: ios optimization

Post by 3d artist1987 »

Hey,

Thanks for the reply.

I have 20 to 30 models which have bubble shader in arkit. Can I add LOD like feature which available for objects?
So When object far away from its look simple & in closer view it looks good.

How to make a single pass shader for better perfomance.
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: ios optimization

Post by Ricardo Teixeira »

dev19872014 wrote:Hey,

Thanks for the reply.

I have 20 to 30 models which have bubble shader in arkit. Can I add LOD like feature which available for objects?
So When object far away from its look simple & in closer view it looks good.

How to make a single pass shader for better perfomance.
Hello,

I recommend creating a version without deformation or the grab screen effect, consider using a simple cubemap(be sure to check the sample included). You can take advantage of Unity LOD Groups to display the lower detail version at a certain distance.

We do plan to add support for shader LODs at a later stage.

I believe you're already using a single-pass shader but you can always try the Unlit or Custom Lighting mode.

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: ios optimization

Post by 3d artist1987 »

Thanks for support.
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: ios optimization

Post by Ricardo Teixeira »

dev19872014 wrote:Thanks for support.
No problem!
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!
Post Reply