ios optimization

Your feedback is very important to us. We are listening.

ios optimization

Postby 3d artist1987 » Sat Aug 11, 2018 4:33 am

Hey,

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

Thanks.
3d artist1987
 
Posts: 36
Joined: Wed May 03, 2017 4:51 am

Re: ios optimization

Postby Amplify_Borba » Mon Aug 13, 2018 9:58 am

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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: ios optimization

Postby 3d artist1987 » Tue Aug 14, 2018 7:23 am

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.
3d artist1987
 
Posts: 36
Joined: Wed May 03, 2017 4:51 am

Re: ios optimization

Postby Ricardo Teixeira » Wed Aug 15, 2018 10:30 am

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!
User avatar
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: ios optimization

Postby 3d artist1987 » Thu Aug 16, 2018 6:49 am

Thanks for support.
3d artist1987
 
Posts: 36
Joined: Wed May 03, 2017 4:51 am

Re: ios optimization

Postby Ricardo Teixeira » Fri Aug 17, 2018 3:26 pm

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!
User avatar
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 12 guests