Page 1 of 1

Using the editor for mobile.

PostPosted: Thu Jun 15, 2017 12:02 pm
by SinglePixel.Soft
Hi guys, noob user here.
I've been wondering if there are any recommendations on what to use and not to use when aiming for mobile.
Like which operators are expensive on mobile.
Thanks for your time.

Re: Using the editor for mobile.

PostPosted: Thu Jun 15, 2017 2:01 pm
by Ricardo Teixeira
Hello,

Thank you for your interest, we really appreciate it. The actual performance will always vary depending on the graph network complexity. The Amplify Shader Editor does allow you to set the precision used for internal calculations, using lower types offers an added performance boost in exchange for some accuracy.

It's hard to pinpoint which operators are more costly without actually examining a node network; it also varies depending on the GPU. Take a Lerp node for example, if the inputs are dynamic it will always be more costly than Lerps with Static inputs. As a general rule, multiplication is faster than division, keep your texture samplers and lerps to a minimum, swizzling can be quite slow on some devices.

For additional information, be sure to check out the Unity Documentation on Shader Performance and Optimization tips.

Be sure to let us know if you happen to run into any issues. feedback is very welcome.

Thanks!