Page 1 of 1

Simple Node Question

Posted: Fri Jan 08, 2016 3:38 pm
by thomas
Hi!

I have a really simple node question that I can't seem to find a good (and elegant) solution for:

I have a black and white mapping that represents stripes on the floor. Now I want have two base color nodes (let's say for example red and blue) where the red is the background color, and I use the black and white as an alpha map to define where the blue is placed on top of the red color.

I know it must be really simple, but I'm a bit lost at the moment. Does anyone have insight on this? Thanks!

Re: Simple Node Question

Posted: Fri Jan 08, 2016 9:48 pm
by LW8000
Hi Thomas

Try using a "Mixer node".

Brian

Re: Simple Node Question

Posted: Sat Jan 09, 2016 12:06 am
by Janusz Biela
Try this:
ScreenShot138.png
ScreenShot139.png
Scene:
alpha_nodes.zip
(7.07 MiB) Downloaded 237 times

In this Node (CheckerBoard2D) by opacity you control strength of alpha:
ScreenShot140.png
ScreenShot140.png (10.72 KiB) Viewed 4111 times
Also you can mix two textures in Image (1) with different blending styles (screen, multiply, additive, etc).

Fire LW VPR and play with options.

Re: Simple Node Question

Posted: Tue Jan 12, 2016 2:10 pm
by thomas
Hi Janusz,

Thanks for the tip! It helps me to learn, but in my case, I have two "color layers", and the color constant does not have an opacity input.

I can create a GRID procedural and set the line width to 100% to create a solid color, and then I have an opacity input, but it seems like there should be a simpler way to create a solid color over another color, with an alpha channel.