Mix materials in node editor (BI)

I want to set up a grass material and a dirt material, then in the node editor, to mix the two based on a mask image.

Anyone explain how or point me towards a tutorial that does this?

BLender Internal BTW

thanks

Simplest way is to use a mix node with the mask texture as the factor

Attachments



material.blend (125 KB)

Ahh – it was the geometry node I was neglecting. Thanks!