subtract

The Subtract Texture subtracts the value of one texture from another similar to the Subtract layer mode in Photoshop.



HOW TO USE

Let's explain this texture node in two simple usage examples:  

subtract one texture from another

Open the Node editor and prepare the setup as you see in the picture below. In this setup, texture 1 subtracted from the texture 2 according to the color values. The colors feeding from the gradient nodes. Any image or procedural texture can be use. This usage is the simplest one.



subtract one texture from the LUMINANCE VALUES

Open the Node editor and prepare the setup as you see in the picture below. In this setup, texture 1 subtracted from the texture 2 according to the luminance color values. The luminance image has greyscale colors and these colors are used for the subtraction. So the whites are full transparent for appearance the cat picture. Blacks are not transparent and the greys are semi-transparent usage in this one. It's similar to masking/alpha tracking function like in the Photoshop or After Effects.