Simple Node Question

Post your tutorials and help questions in this forum
Locked
thomas
Posts: 348
Joined: Tue Aug 31, 2010 9:59 am

Simple Node Question

Post 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!
LW8000
Posts: 1
Joined: Tue Jul 29, 2014 3:43 pm

Re: Simple Node Question

Post by LW8000 »

Hi Thomas

Try using a "Mixer node".

Brian
User avatar
Janusz Biela
Posts: 3265
Joined: Mon Mar 13, 2006 10:39 am
Location: Finland
Contact:

Re: Simple Node Question

Post by Janusz Biela »

Try this:
ScreenShot138.png
ScreenShot139.png
Scene:
alpha_nodes.zip
(7.07 MiB) Downloaded 191 times

In this Node (CheckerBoard2D) by opacity you control strength of alpha:
ScreenShot140.png
ScreenShot140.png (10.72 KiB) Viewed 3283 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.
thomas
Posts: 348
Joined: Tue Aug 31, 2010 9:59 am

Re: Simple Node Question

Post 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.
Locked