S
S
Surface-ketch2016-12-04 18:17:10
Shaders
Surface-ketch, 2016-12-04 18:17:10

Unity, do I need to change shaders for a mobile game (2d)?

Good day. I came across an article on optimizing unity games for mobile, where one of the points was to replace standard shaders with mobile ones or with your own. After a couple of articles, I figured out a little why they are needed at all, but I didn’t fully understand whether something needs to be changed if the game is 2d, sprites + 2 particle systems. For systems, I changed the shader to Mobile / Particles / Alpha Blended, but do I need to replace / add anything else?
I went to the Project Settings -> Graphics, there is a standard list, I googled the names of the shaders a little, and as far as I understood for 2d, you can replace all this?
___________________________________________________________

Profiler when the main menu of the game is enabled:

875727f83caa49f5b4f0e0b25d5ed1a5.png
f22b55e050a944bfaf39b20879684877.png
Profiler in the game itself:

32714c39c74847b8a5e77e550a171048.png
9d581a466e494f3a8a382cf2fbf58554.png
ee7a3140d9df4888919296ad9f546a17.png
e106ecd127a845efb204ba9fa44bb471.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Даниил Басманов, 2016-12-05
@Surface-ketch

Шейдеры нужно менять, если они на мобилках тормозят. Если игра летает, то делать ничего не надо. Подобные решения надо принимать исходя из данных профайлера, а не ответов на тостере.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question