<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blender Guru &#187; nodes</title>
	<atom:link href="http://www.blenderguru.com/tag/nodes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blenderguru.com</link>
	<description>Quality tutorials, tips and articles</description>
	<lastBuildDate>Wed, 28 Jul 2010 09:45:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Introduction to Texture Nodes</title>
		<link>http://www.blenderguru.com/introduction-to-texture-nodes/</link>
		<comments>http://www.blenderguru.com/introduction-to-texture-nodes/#comments</comments>
		<pubDate>Wed, 13 May 2009 18:01:08 +0000</pubDate>
		<dc:creator>Andrew Price</dc:creator>
				<category><![CDATA[Texturing]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[intermediate]]></category>
		<category><![CDATA[nodes]]></category>

		<guid isPermaLink="false">http://www.blenderguru.com/?p=301</guid>
		<description><![CDATA[Blenders powerful node system now supports textures! In this tutorial you will learn how to create a stunning brick map using nothing but procedural textures.]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will be creating a brick texture using nothing but procedural textures and Blender&#8217;s powerful new texture node system.</p>
<p><span id="more-301"></span></p>
<p><a href="http://www.blenderguru.com/wp-content/uploads/2009/05/finished2-half.jpg"><img class="aligncenter size-medium wp-image-344" title="teary-nights" src="http://www.blenderguru.com/wp-content/uploads/2009/05/finished2-half-540x303.jpg" alt="teary-nights" width="540" height="303" /></a></p>
<p>Let&#8217;s begin&#8230;</p>
<p>Start by adding a plane and rotating it to face the camera.</p>
<p><img class="aligncenter size-full wp-image-334" title="1-plane1" src="http://www.blenderguru.com/wp-content/uploads/2009/05/1-plane1.jpg" alt="1-plane1" width="540" height="291" /></p>
<p>With the plane selected, add a new material and new texture. Those familar with blender will recognize that a new button labelled Nodes has been added. Click it. You will notice that doing so, disables the standard dropdown texture choices.</p>
<p><img class="aligncenter size-full wp-image-306" title="2-nodes-button" src="http://www.blenderguru.com/wp-content/uploads/2009/05/2-nodes-button.jpg" alt="2-nodes-button" width="540" height="204" /></p>
<p>Now switch to the Node editor.</p>
<p><img class="aligncenter size-full wp-image-220" title="15-node-editor" src="http://www.blenderguru.com/wp-content/uploads/2009/05/15-node-editor.jpg" alt="15-node-editor" width="183" height="387" /></p>
<p>Again, you will notice a new button has been added to the header, in the shape of a spotted square. Click it to switch to the Texturing Node system.</p>
<p><img class="aligncenter size-full wp-image-305" title="1-tex-button" src="http://www.blenderguru.com/wp-content/uploads/2009/05/1-tex-button.jpg" alt="1-tex-button" width="540" height="26" /></p>
<p>By default you will see a checkboard and output nodes. Go ahead and delete the checkerboard node.</p>
<p><img class="aligncenter size-full wp-image-307" title="3-delete-checkboard" src="http://www.blenderguru.com/wp-content/uploads/2009/05/3-delete-checkboard.jpg" alt="3-delete-checkboard" width="540" height="310" /></p>
<h4><!--more--></h4>
<h4>Creating the brick mask</h4>
<p>Add a brick texture by hitting space then selecting, <strong>Add&gt;Patterns&gt;Bricks</strong>. Change the settings to the picture below and connect it to the Output node.</p>
<p><img class="aligncenter size-medium wp-image-308" title="4-brick-settings" src="http://www.blenderguru.com/wp-content/uploads/2009/05/4-brick-settings-540x474.jpg" alt="4-brick-settings" width="540" height="474" /></p>
<p>This basic brick texture will be used as the foundation to create our diffuse, bump, pattern and spec maps, so we want to make sure that if we change any of the settings, that all 4 textures update accordingly. So to do this, we need to create a group.</p>
<p>With only the Brick node selected hit <strong>Ctrl+G</strong>, and click <strong>Make Group</strong>. To make it easier to identify later, label it &#8216;Mask&#8217;:</p>
<p><img class="aligncenter size-medium wp-image-309" title="5-mask" src="http://www.blenderguru.com/wp-content/uploads/2009/05/5-mask-540x308.jpg" alt="5-mask" width="540" height="308" /></p>
<p>The new node system allows us to add multiple outputs to the same node screen for each texture map that we need. In this case we are creating 4, so with the Mask and the Output nodes selected, duplicate it three times and label the outputs: <strong>Diffuse, Pattern, Spec </strong>and <strong>Bump</strong>.</p>
<p><img class="aligncenter size-full wp-image-310" title="6-duplicated-nodes" src="http://www.blenderguru.com/wp-content/uploads/2009/05/6-duplicated-nodes.jpg" alt="6-duplicated-nodes" width="540" height="866" /></p>
<p>That&#8217;s the basic brick mask set up. We will now move on to texturing each map accordingly.</p>
<p><!--more--></p>
<h4>Altering the Pattern Texture</h4>
<p>Create two cloud inputs (Add&gt;Textures&gt;Clouds) and give them the following settings:</p>
<p><img class="aligncenter size-full wp-image-311" title="7-clouds" src="http://www.blenderguru.com/wp-content/uploads/2009/05/7-clouds.jpg" alt="7-clouds" width="540" height="569" /></p>
<p>These cloud layers will be used to give the bricks a randomized texture pattern depending on the row and number of the brick. To do this, join each cloud layer to the brick inputs in the mask that is connected to the Pattern output:</p>
<p><img class="aligncenter size-full wp-image-312" title="8-clouds-connected" src="http://www.blenderguru.com/wp-content/uploads/2009/05/8-clouds-connected.jpg" alt="8-clouds-connected" width="540" height="337" /></p>
<p>The Bias setting can be adjusted from -1.00 to 1.00. This determines how much of Brick 1 and Brick 2 to use. Setting it to 0.00 will use both Brick 1 and Brick 2 evenly, creating a nice random brick texture, which is ideal for what we want.</p>
<h4>Altering the Specular Texture</h4>
<p>Just like we did with our pattern texture, we are going to be adding a texture that will reflect the light off our bricks. So in this instance the Musgrave texture works best (<strong>Add&gt;Texture&gt;Musgrave</strong>). Give the Musgrave texture the following settings (making sure you change the colors as shown) then insert it into the Brick 1 slot. Now change the colour of Brick 2 to black:</p>
<p><img class="aligncenter size-full wp-image-313" title="9-spec" src="http://www.blenderguru.com/wp-content/uploads/2009/05/9-spec.jpg" alt="9-spec" width="540" height="344" /></p>
<p>This will create a fine sandy texture that will reflect off the light.</p>
<h4>Altering the Bump Map Texture</h4>
<p>The bump is slightly different in that we aren&#8217;t altering brick slot 1 or 2, but instead converting the resulting texture to a normal map. To do this, add a <strong>Value to Normal node (Add&gt;Convertor&gt;Value to Normal</strong>) and place it in between the mask and the output as shown. Make sure that you change the connection on the output from Color to <strong>Normal</strong>.</p>
<p><img class="aligncenter size-medium wp-image-314" title="10-bump" src="http://www.blenderguru.com/wp-content/uploads/2009/05/10-bump-540x292.jpg" alt="10-bump" width="540" height="292" /></p>
<p>This will ensure our bricks have nice bevelled edges.</p>
<h4>The node system is now complete!</h4>
<p><img class="aligncenter size-medium wp-image-315" title="11-full-nodes" src="http://www.blenderguru.com/wp-content/uploads/2009/05/11-full-nodes-540x617.jpg" alt="11-full-nodes" width="540" height="617" /></p>
<h4><!--more--></h4>
<h4>Adding the Node System to the Texture Panel</h4>
<p>If you switch to the texture panel in our material settings, you will notice that our texture now has a dropdown list next to it, listing each of our outputs. This allows us to bring the textures from node system into our standard texture panel and change the blending options.</p>
<p>To start with select <strong>Diffuse </strong>from the drop down list.</p>
<p><img class="aligncenter size-full wp-image-316" title="12-node-selector" src="http://www.blenderguru.com/wp-content/uploads/2009/05/12-node-selector.jpg" alt="12-node-selector" width="540" height="205" /></p>
<p>Now swith to the <strong>Map To</strong> panel and make the following changes.</p>
<p><img class="aligncenter size-full wp-image-317" title="13-diffuse-multiply" src="http://www.blenderguru.com/wp-content/uploads/2009/05/13-diffuse-multiply.jpg" alt="13-diffuse-multiply" width="540" height="205" /></p>
<p>Going back to our Texture Panel, add another texture slot and change the output to Spec:</p>
<p><img class="aligncenter size-full wp-image-336" title="14-spec-select1" src="http://www.blenderguru.com/wp-content/uploads/2009/05/14-spec-select1.jpg" alt="14-spec-select1" width="540" height="205" /></p>
<p>Switch to the Map To panel and make the following changes:</p>
<p><img class="aligncenter size-full wp-image-319" title="14-spec-settings" src="http://www.blenderguru.com/wp-content/uploads/2009/05/14-spec-settings.jpg" alt="14-spec-settings" width="540" height="205" /></p>
<p>Add another texture slot and select Bump for the output:</p>
<p><img class="aligncenter size-full wp-image-324" title="15-bump-select" src="http://www.blenderguru.com/wp-content/uploads/2009/05/15-bump-select.jpg" alt="15-bump-select" width="540" height="205" /></p>
<p>Now make the following changes in the Map To panel:</p>
<p><img class="aligncenter size-full wp-image-320" title="15-bump-settings" src="http://www.blenderguru.com/wp-content/uploads/2009/05/15-bump-settings.jpg" alt="15-bump-settings" width="540" height="205" /></p>
<p>Add a final texture slot and select Pattern as the output:</p>
<p><img class="aligncenter size-full wp-image-325" title="16-pattern-select" src="http://www.blenderguru.com/wp-content/uploads/2009/05/16-pattern-select.jpg" alt="16-pattern-select" width="540" height="205" /></p>
<p>Switch to the Map To tab and make the following changes:</p>
<p><img class="aligncenter size-full wp-image-304" title="16-pattern-settings" src="http://www.blenderguru.com/wp-content/uploads/2009/05/16-pattern-settings.jpg" alt="16-pattern-settings" width="540" height="205" /></p>
<p>That&#8217;s it! If you render now, you should get a result similar to this:</p>
<p><img class="aligncenter size-full wp-image-328" title="1-by-1" src="http://www.blenderguru.com/wp-content/uploads/2009/05/1-by-1.jpg" alt="1-by-1" width="540" height="400" /></p>
<p>I used the default brick size for this tutorial which is quite large. If you want to decrease their size, this can easily be done by altering the size of the texture in the <strong>Map Input </strong>field.</p>
<p><img class="aligncenter size-full wp-image-329" title="17-map-input" src="http://www.blenderguru.com/wp-content/uploads/2009/05/17-map-input.jpg" alt="17-map-input" width="540" height="205" /></p>
<p>For example, altering those numbers to <strong>3.00</strong> yields this result:</p>
<p><img class="aligncenter size-medium wp-image-330" title="3-by-3" src="http://www.blenderguru.com/wp-content/uploads/2009/05/3-by-3-540x400.jpg" alt="3-by-3" width="540" height="400" /></p>
<p>As you can see the texture node system is incredibly powerful. It can be used to quickly create texture combinations that previously would have required the use of an image editor. This opens the doors to faster workflows, more realistic textures and more artistic license.</p>
<p><a href="http://blenderguru.com/wp-content/uploads/2009/05/teary_nights.blend"><img class="aligncenter size-medium wp-image-345" title="download_blend" src="http://www.blenderguru.com/wp-content/uploads/2009/05/download_blend5-540x303.jpg" alt="download_blend" width="540" height="303" /></a></p>
<p>I hope you have enjoyed this tutorial! If you have any questions be sure to ask. I&#8217;d love to see your end result, so feel free to post it below!</p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.blenderguru.com/introduction-to-texture-nodes/&amp;layout=button_count&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://www.blenderguru.com/introduction-to-texture-nodes/feed/</wfw:commentRss>
		<slash:comments>90</slash:comments>
		</item>
	</channel>
</rss>
