i used 1-x to prevent the white parts from glowing.
Hey @anon58292963!
Would you be able to explain a little more in depth?
If you’re trying to make the outline red, you’re not going to be able to use that 1-x because that applies to the entire texture sample. You need to add another texture as a mask that is hollow in the middle as the shape of the inside box and then red around the edge like that. So if you could take that texture into an image editor and make the white see-through, you can add that rim as a mask and plug that into the emissive.
I think. To be honest, materials confuse me quite a bit, but this seems somewhat understandable based on what I’ve done before.
thanks, I’ll try it.
The one minus node takes the value and subtracts it from one. So if you have an RGB image, the color red is (1,0,0). If you subtract those numbers from one, the output is (0,1,1) which is the reason your emissive is blue-green.
It doesn’t just invert the black/white parts, it inverts everything. You will need to use different math to mask the emissive.
The lerp node would be useful here.