Optimization: Changing the color of a material vs. multiple copies of a material

I’ve finished all the features for my first game and I’m trying to optimise it for mobile. I’ve made heavy use of recolouring materials and I’ve noticed that the mobile shaders don’t have that option. Would it be better to stick with standard shaders or create seven different copies of each texture/material in each color?

Better get a shader which supports colors - it will be easier to maintain.

You can try using default shaders - it shouldn’t be a problem unless you’re doing something heavy. Otherwise get a source of mobile shader that you want and add color parameter yourself.

You can add a few lines to the shader to do this

in the properties section of the shader add

`_Color	("Colour Overide",Color) = (0,0,0,0)`

then add a the variable declartion between the input structs and the surf() function 
`float4 _Color;`

then change the line ( if there is one )
`o.Albedo.rgb = sometexture.rgb * _Color.rgb`