Hey,
How to optimize ReflectRefractSoapBubble shader for ios (iPhone X).
Its working good but its drop fps.
Thanks.
ios optimization
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: ios optimization
Hey there!
You can try setting the Precision parameter to Half, in the Output Node's Parameters, as per the screenshot below:

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?
You can try setting the Precision parameter to Half, in the Output Node's Parameters, as per the screenshot below:

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!
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
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.
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.
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: ios optimization
Hello,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.
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!
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
Thanks for support.
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: ios optimization
No problem!dev19872014 wrote:Thanks for support.
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!