How can i combine two materials into one

title basically i have 2 materials that both that both have to use the base color because i have a pixelated version of a texture and i have the aligned version of the texture if you know what i mean.