NME Node - Equivalent of Blender's MixRGB

Hi All,

I’m looking for a node, or technique by which I can create an RGB output that has been generated by the merging of two input RGB textures, controlled by a Black/White “Factor” texture, similar to how the “MIx” node in Blender works.

I have managed to produce the following: https://nme.babylonjs.com/#W12TFQ#4

but curious to know if there is an easier, or more efficient way?

Any help greatly appreciated.


Adding @PirateJC

Hey @jdp1g09

Actually what you have here is really great!

There isn’t a direct equivalent of the Blender Mix shader, in the Babylon Node Material Editor. However, as you have already discovered, the Blender Mix shader is pretty much a glorified “add” node anyways.

In other words, in the NME world, the add node is actually what you’re looking for. You would create two different effects (like you have here), and then essentially just add the two together.

So to simply answer your question. No there is no more efficient way than what you’ve already discovered here!

Hope this helps!

1 Like

Thanks for the sanity check - appreciate the info