best type of shader?

hey everyone

so untill now ive just been using unitys standard shaders without really thinking about it.

now , is there another shader that you recommend as a standard? like legacy or etc?

hope you can help im trying to optimize my game

The “best” shader is the one that does everything you need it to do to achieve the desired graphical effect on a given material, and nothing more:
Don’t calculate UVs if you’re not mapping a texture to the material. Don’t multiply by vertex colour if it’s always 1.0. Don’t add a lightmap or shadow pass if your surface is unlit. etc. etc.

But, if you want a triplanar, reflective surface with per-pixel lighting, then you’re going to have to perform the corresponding calculations.

Most projects I’ve worked on have used somewhere berween 20-40 shaders, and none have ever been the “Standard”.