What decides an overlay's shader code: its blend and which of its parts it carries.
Whether the colour tints the base colour or replaces it.
Whether the overlay carries a normal map.
Whether the overlay sets its own roughness.
What decides an overlay's shader code: its blend and which of its parts it carries.