Material renders as black, but looks fine in textured view?
According to your screenshot, you don't have an output node in your material:

Add one by going to the node editor.

To get the nod editor, either press F3 while hovering over an area which you want to make a node editor, or by selecting the area type from the dropdown in the header:


Then press ⇧ ShiftA&gt; Output &gt; Material output to add an output node:


Connect the output of your shader to the  surface input of the output node: