I am trying to get this wall to look like this material (screenshot taken from the preview window in the material editor):
But, it just shows up like this (the gray area is the part that has the material applied to it):
This what the nodes look like:

Why does the correct material show up in the preview window, but not in the rendered version?

