Hi,
I like to seek help how to “filter” a specific color of an existing material and add emission to it. In the diagram below, I like to add emssion to the “green-blue” color as shown on this electrical device.
I understand one way is to try to “black out” the other colors and change the “specific color (in this case blue-green lines)” to white as a “fac” in a mix shader.
My problem is I just couldn’t figure how to do this “black out” and “white out” a specific color on an exisitng image.
hi,
Hmm I think the problem is the color to add emission is not exactly blue or green.
So the question is how to isolate out this color which appears bluish green ?
I tried both green and blue output from Separate color node as you suggested . still can’t get it. Below us see i only could add emission to the horizontal bar and not the “bluish green” lines in the original diagram.
I just used a noise texture instead of an image texture to test it. Just replace that with your image texture.
I compare the color of the noise (image) with the color you want to replace (my RGB node) and by changing the “exact range” to 0 you can choose that only the exact color will be replaced by emission. If you raise that value, also “neighbouring” colors will be replaced. Hope it helps. Happy blending!
Hmm I assume the Principle BSDF.Base Color input should comes from the image right?
So with that said, there is no emission effect when tried to follow yours… replacing the noise with my image, and also adding image input to Principle BSDF.Base Color
yes, your assumption is right…but i cannot really believe that it doesn’t work…can u provide a blend file where you put that together and it doesn’t work? of course you might want to use a bigger range value than 0 because you maybe didn’t really got the right color? because 0 means: it must be that exact color.
Hi again.
Firstly, I make a mistake … the line in bluish green. It is a different object.
Anyway I wanted now to change the “light greenish” panel replace with red emission. I understand the logic of your shader should be able to replace this color and put in an emission. It still does not work.
Here’s my file of this transmission equipment object … with your shader that I tried to follow but did not get it to work .
Yeah. I tried this with a couple random jpgs of my own and had a lot of trouble getting this setup to work, until I did some prep work in the GIMP to clean up the noise. An image that already had solid colour areas and not much noise (hello, Mr Mondrian) worked nearly out of the box, just a little play with the epsilon and it was there.
I know how to reduce noise in 2D programs, but don’t know enough about Blender to translate that.