I have an object and I want the texture to take on the main color of the material. The attached image shows the effect I am looking for: 1) a main color, 2) a texture, 3) the texture and color combination.
I made this image in Photoshop using the texture set to Hard Light, over the color layer. However, I want to do this with code as there is already a script determining the main material color.
Is there an economic way to allow layer passes on textures in a shader?