how to solve shader/texture problem: putting white icons on colored planes

hi there!

I want to generate some colored planes with some white icons on it. my approach was that I have a texture-map where the white icon lies on a black background. now in the material of the plane I want a shader to use the color input to colorize the black background of the texture while the white icon is still white.

is this possible? thanx!

No, you'll have to use two separate textures. The color value of a material influences the whole texture, not specific parts of it.

My approach would to be to create a plane for the background, and separate planes for the buttons.