<?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>Think, Draw, Art!</title>
	<atom:link href="https://www.thinkdrawart.com/tag/water/feed" rel="self" type="application/rss+xml" />
	<link>https://www.thinkdrawart.com</link>
	<description>for art lovers</description>
	<lastBuildDate>Fri, 12 Apr 2019 07:51:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>Water Shader Tutorial for Daz Studio Iray</title>
		<link>https://thinkdrawart.com/water-shader-tutorial-for-daz-studio-iray</link>
					<comments>https://thinkdrawart.com/water-shader-tutorial-for-daz-studio-iray#comments</comments>
		
		<dc:creator><![CDATA[shibashake]]></dc:creator>
		<pubDate>Mon, 24 Aug 2015 22:05:34 +0000</pubDate>
				<category><![CDATA[Daz Studio]]></category>
		<category><![CDATA[Iray]]></category>
		<category><![CDATA[daz studio iray]]></category>
		<category><![CDATA[ds iray]]></category>
		<category><![CDATA[iray]]></category>
		<category><![CDATA[iray shader]]></category>
		<category><![CDATA[iray tutorial]]></category>
		<category><![CDATA[shader]]></category>
		<category><![CDATA[water]]></category>
		<category><![CDATA[water shader]]></category>
		<guid isPermaLink="false">http://thinkdrawart.com/?p=12068</guid>

					<description><![CDATA[In this tutorial we focus on the three water shaders in Daz Studio Iray - water, water thin, and water dispersive. We also experiment with an underwater mermaid scene and water caustics. ]]></description>
										<content:encoded><![CDATA[<p>There are three types of water shaders that come with Daz Studio Iray &#8211; water, water dispersive, and water thin. I started learning about Iray water shaders by creating a very simple scene &#8211; just a girl wearing a swimsuit, who is standing in water. </p>
<p>The image below is the finished product of my water shader experiment. In this tutorial, I talk about the different parameters of the Iray water shader, and what I focused on to create my pin-up render.</p>
<div id='12070' class='wp-caption frame3 aligncenter' style='width:520px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:520px'><img src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-520x515.jpg" alt="Pin-up image of girl in swimsuit and beach hat, standing in water." width="520" height="515" class="size-large wp-image-12070" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-520x515.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-150x150.jpg 150w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-280x277.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-48x48.jpg 48w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-460x456.jpg 460w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-220x218.jpg 220w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-54x54.jpg 54w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-32x32.jpg 32w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c-96x96.jpg 96w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/SwimsuitGirlPinup1c.jpg 1034w" sizes="(max-width: 520px) 100vw, 520px" /><div class='wp-caption-text shiba-caption'>Water Shader Tutorial for Daz Studio Iray</div></div> <!-- End shiba-stage --></div></div>
<div class="alignspace"></div>
<h2>1. Water Shader</h2>
<div id='12072' class='wp-caption frame3 alignright' style='width:280px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:280px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1-280x277.jpg" alt="Reflection of my image based light (IBL) on a flat plane with the water shader." width="280" height="277" class="size-medium wp-image-12072" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1-280x277.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1-520x515.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1-48x48.jpg 48w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1-460x456.jpg 460w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1-220x218.jpg 220w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1-54x54.jpg 54w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1-32x32.jpg 32w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1-96x96.jpg 96w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader1.jpg 1034w" sizes="(max-width: 280px) 100vw, 280px" /><div class='wp-caption-text shiba-caption'>Barcelona Sunset environment map with zero rotation.</div></div> <!-- End shiba-stage --></div></div>
<p>I create the scene as I normally would. Here I am using <a href='https://www.anrdoezrs.net/links/3576029/type/dlg/https://www.daz3d.com/fwsa-gillian-hd-for-victoria-7-and-lf-sorbet-swimwear' rel='nofollow'>FWSA Gillian HD and LF Sorbet Swimwear,</a> which fits in very well with a water pin-up scene. The only extra change I made here, is to make her skin appear more wet by increasing <strong>Glossy Reflectivity</strong> to 0.9, and decreasing <strong>Glossy Roughness</strong> to 0.4, for all skin surfaces.</p>
<p>Once I am done, I make a plane primitive and apply the Iray water shader to it. When I look at the surface properties of my water plane, there are two key properties &#8211; reflection and refraction. </p>
<h3>a) Reflection</h3>
<p>To get a good reflection on my water, I want to pick a good environment map and rotation angle. I like the Barcelona Rooftops HDR that I got from <a href="http://www.hdrlabs.com/sibl/archive.html">sIBL Archives,</a> so I use it here, starting with zero rotation. Unfortunately, at this rotation, it is filled with large buildings and palm trees, which is not a very pleasing reflection on my water. Therefore, I adjust the rotation until I get an interesting far-away skyline, that I am happy with (rotation = 270 degrees).</p>
<div id='12074' class='wp-caption frame3 aligncenter' style='width:520px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:520px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-520x515.jpg" alt="A more far-away and open sky-line creates a better reflection on my water plane." width="520" height="515" class="size-large wp-image-12074" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-520x515.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-150x150.jpg 150w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-280x277.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-48x48.jpg 48w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-460x456.jpg 460w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-220x218.jpg 220w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-54x54.jpg 54w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-32x32.jpg 32w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2-96x96.jpg 96w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader2.jpg 1034w" sizes="(max-width: 520px) 100vw, 520px" /><div class='wp-caption-text shiba-caption'>I adjust the rotation of my Environment Map until I get a more open, far-away, skyline that I am happy with.</div></div> <!-- End shiba-stage --></div></div>
<h3>b) Refraction</h3>
<div id='12081' class='wp-caption frame3 alignright' style='width:280px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:280px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b-280x277.jpg" alt="Slight change of the camera angle so we can see more of the refracted foot." width="280" height="277" class="size-medium wp-image-12081" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b-280x277.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b-520x515.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b-48x48.jpg 48w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b-460x456.jpg 460w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b-220x218.jpg 220w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b-54x54.jpg 54w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b-32x32.jpg 32w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b-96x96.jpg 96w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3b.jpg 1034w" sizes="(max-width: 280px) 100vw, 280px" /><div class='wp-caption-text shiba-caption'>Slight change of the camera angle so we can see more of the refracted foot.</div></div> <!-- End shiba-stage --></div></div>
<p>Another important aspect of the Iray water shader is refraction. Light travels at a different speed in air than in water. Therefore, when light enters water, it gets bent (at the point of crossing),  thereby allowing us to see more of the leg that is submerged. Without refraction, her foot would not be visible. </p>
<blockquote>
<p>Submerged objects always appear to be shallower than they are because the light from them changes angle at the surface, bending downward toward the water.<br />
~~[<a href="http://hyperphysics.phy-astr.gsu.edu/hbase/geoopt/refr2.html">HyperPhysics</a>]</p>
</blockquote>
<div id='12110' class='wp-caption frame3 alignright' style='width:280px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:280px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader10-280x224.jpg" alt="Screeshot of how to duplicate objects in Daz Studio 4.8 Pro." width="280" height="224" class="size-medium wp-image-12110" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader10-280x224.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader10-220x176.jpg 220w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader10.jpg 432w" sizes="(max-width: 280px) 100vw, 280px" /><div class='wp-caption-text shiba-caption'>Create a Ground Plane by duplicating my water plane.</div></div> <!-- End shiba-stage --></div></div>
<p>However, because all we have is our water plane and there is no ground plane, her foot looks like it is not standing on anything. To fix this, I duplicate my water plane by going into <strong>Edit > Duplicate > Duplicate Node(s).</strong> This creates a duplicate plane which I call &#8216;Ground Plane&#8217;. Next, I apply the <em>Concrete Iray shader</em> to my ground plane, and then move it down so that my pin-up girl is standing on it. </p>
<p>Notice that there is now a shadow under her foot, and there are also interesting patterns on the water due to refraction of the ground plane.</p>
<div id='12078' class='wp-caption frame3 aligncenter' style='width:520px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:520px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-520x515.jpg" alt="Added a ground plane so that the pin-up girl is now standing on something solid. This also adds interesting texture to the water because of refraction." width="520" height="515" class="size-large wp-image-12078" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-520x515.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-150x150.jpg 150w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-280x277.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-48x48.jpg 48w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-460x456.jpg 460w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-220x218.jpg 220w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-54x54.jpg 54w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-32x32.jpg 32w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3-96x96.jpg 96w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader3.jpg 1034w" sizes="(max-width: 520px) 100vw, 520px" /><div class='wp-caption-text shiba-caption'>I add a ground plane so that the pin-up girl&#8217;s refracted foot, under the water, is standing on a solid surface.</div></div> <!-- End shiba-stage --></div></div>
<h3>c) Waves</h3>
<p>You will notice, that there is wind in our render that is blowing out our pin-up girl&#8217;s hair. This wind will also create waves/ripples on our water. To add waves to our currently flat water plane, we add in an appropriate normal map. We can do a search for &#8220;water normal map&#8221; or we can get a normal map from one of our existing environments. </p>
<div id='12112' class='wp-caption frame3 alignright' style='width:280px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:280px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader101-280x224.jpg" alt="Screenshot of how to add waves to a water plane by loading in a normal map." width="280" height="224" class="size-medium wp-image-12112" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader101-280x224.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader101-460x368.jpg 460w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader101-220x176.jpg 220w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader101.jpg 476w" sizes="(max-width: 280px) 100vw, 280px" /><div class='wp-caption-text shiba-caption'>Load my water normal map into the  Normal Map parameter of my water plane.</div></div> <!-- End shiba-stage --></div></div>
<p>Next, I edit my water plane surface, and load in my water normal map. I can increase the number of <strong>Horizontal and Vertical Tiles</strong> in my shader parameter, if I want to make my water be more wavy. Finally, I can also color my water plane, for example make my water appear more blue, by changing the <strong>Base Color</strong> parameter of my water plane.</p>
<div id='12083' class='wp-caption frame3 aligncenter' style='width:520px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:520px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-520x515.jpg" alt="Added waves to my Iray water shader." width="520" height="515" class="size-large wp-image-12083" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-520x515.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-150x150.jpg 150w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-280x277.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-48x48.jpg 48w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-460x456.jpg 460w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-220x218.jpg 220w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-54x54.jpg 54w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-32x32.jpg 32w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap-96x96.jpg 96w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader5-NormalMap.jpg 1034w" sizes="(max-width: 520px) 100vw, 520px" /><div class='wp-caption-text shiba-caption'>Added waves on my water plane by loading in an appropriate water normal map.</div></div> <!-- End shiba-stage --></div></div>
<div class="alignspace"></div>
<h2>2. Water Thin &#038; Water Dispersive</h2>
<p>The <em>Water Thin</em> Iray shader is just like the <em>Water</em> shader except that it has the <strong>Thin Walled</strong> parameter turned on. This just means that the water shader is only applied to the surface of the object, instead of the entire volume of the object.</p>
<blockquote>
<p><strong>Thin Walled</strong> &#8211; This property sets the volumetric effects of the surface. Compare a bubble (on) to a marble (off) for example.<br />
~~<a href='https://www.tkqlhce.com/links/3576029/type/dlg/http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/interface/panes/surfaces/shaders/iray_uber_shader/shader_general_concepts/start#thin_walled' rel='nofollow'>[Daz Documentation Center]</a></p>
</blockquote>
<div id='12085' class='wp-caption frame3 alignright' style='width:280px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:280px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader7-Bubbles-280x308.jpg" alt="Girl in pink with lots of bubbles around her. Two Beagle puppies also playing with the bubbles." width="280" height="308" class="size-medium wp-image-12085" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader7-Bubbles-280x308.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader7-Bubbles-520x572.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader7-Bubbles-418x460.jpg 418w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader7-Bubbles-200x220.jpg 200w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader7-Bubbles.jpg 1024w" sizes="(max-width: 280px) 100vw, 280px" /><div class='wp-caption-text shiba-caption'>When Thin Walled is Off, the bubbles look like droplets of water.</div></div> <!-- End shiba-stage --></div></div>
<p>For example, cornea surfaces are often set to Water Thin. Another great example of a thin surface object are bubbles. In my first bubble image, I have the <strong>Thin Walled</strong> parameter set to Off. In this example, my bubbles look more like droplets of water rather than bubbles. </p>
<div class="alignbreak"></div>
<p><div id='12087' class='wp-caption frame3 alignright' style='width:280px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:280px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader8-ThinBubbles-280x308.jpg" alt="Girl in pink with lots of bubbles around her. Two Beagle puppies also playing with the bubbles." width="280" height="308" class="size-medium wp-image-12087" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader8-ThinBubbles-280x308.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader8-ThinBubbles-520x572.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader8-ThinBubbles-418x460.jpg 418w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader8-ThinBubbles-200x220.jpg 200w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader8-ThinBubbles.jpg 2000w" sizes="(max-width: 280px) 100vw, 280px" /><div class='wp-caption-text shiba-caption'>When Thin Walled is On, the bubbles look a lot more like bubbles.</div></div> <!-- End shiba-stage --></div></div><br />
In the next image, I have the <strong>Thin Walled</strong> parameter set to On. As you can see, our bubbles are now starting to look a lot more like bubbles.</p>
<div id='12089' class='wp-caption frame3 aligncenter' style='width:520px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:520px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/PinkLady1-520x572.jpg" alt="Girl in pink with lots of bubbles around her. Two Beagle puppies also playing with the bubbles. Postwork in Photoshop." width="520" height="572" class="size-large wp-image-12089" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/PinkLady1-520x572.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/PinkLady1-280x308.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/PinkLady1-418x460.jpg 418w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/PinkLady1-200x220.jpg 200w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/PinkLady1.jpg 1024w" sizes="(max-width: 520px) 100vw, 520px" /><div class='wp-caption-text shiba-caption'>Completed Pink Lady and Bubbles image.</div></div> <!-- End shiba-stage --></div></div>
<p>Another very cool aspect of bubbles is that they have chromatic dispersion. These result in the many colors we may see on bubbles, in an oil slick, or in a rainbow. </p>
<blockquote>
<p>A bubble film is a sort of sandwich: a layer of soap molecules, a filling of water molecules, and then another layer of soap molecules. When light waves reflecting from one layer of soap molecules meet up with light waves reflecting from the second layer of soap molecules, the two sets of waves interfere. Some waves add together, making certain frequencies or colors of light brighter. Other waves cancel each other, removing a frequency or color from the mixture. The colors that you see are what&#8217;s left after the light waves interfere.<br />
~~[<a href="https://www.exploratorium.edu/science_explorer/bub_dome.html">Exploratorium</a>]</p>
</blockquote>
<p>That is what the <em>Water Dispersive</em> Iray shader addresses. It has an additional parameter called <strong>Abbe.</strong></p>
<blockquote>
<p>Abbe is a conatant chromatic dispersion. Lower numbers (but greater than 0) give more dispersion on the surface, and the higher the value, the less dispersion. This works on surfaces with volume, not on Thin Walled surfaces.<br />
~~[<a href='https://www.kqzyfj.com/links/3576029/type/dlg/http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/interface/panes/surfaces/shaders/iray_uber_shader/shader_general_concepts/start#abbe' rel='nofollow'>Daz Documentation Center]</a>
</p>
</blockquote>
<p><strong>Note that Abbe does not work on Thin Walled surfaces.</strong> Therefore, to test this out, I need a double layered bubble (i.e. a bubble that is geometrically represented by both an outer and inner layer). I found such a bubble in the <a href='https://www.jdoqocy.com/links/3576029/type/dlg/https://www.daz3d.com/3d-bubbles' rel='nofollow'>3D Bubbles product by MindVision G.D.S.</a> </p>
<div id='12096' class='wp-caption frame3 aligncenter' style='width:520px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:520px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader9-DoubleSidedBubbles-520x572.jpg" alt="Two sided bubbles look a lot more substantial, and end up looking a bit more like glass." width="520" height="572" class="size-large wp-image-12096" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader9-DoubleSidedBubbles-520x572.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader9-DoubleSidedBubbles-280x308.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader9-DoubleSidedBubbles-418x460.jpg 418w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader9-DoubleSidedBubbles-200x220.jpg 200w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader9-DoubleSidedBubbles.jpg 1024w" sizes="(max-width: 520px) 100vw, 520px" /><div class='wp-caption-text shiba-caption'>Water Dispersive Iray shader applied to two-sided bubbles. Abbe set to 2.</div></div> <!-- End shiba-stage --></div></div>
<p>Chromatic dispersion works here. However, the two sided bubbles look a bit too substantial for bubbles, and ends up looking more like glass. Personally, I like the Thin Walled version best.</p>
<div id='12090' class='wp-caption frame3 aligncenter' style='width:520px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:520px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/GirlBubbles1b-520x572.jpg" alt="Girl in green with one of her legs up and bubbles all around her. Stonemason&#039;s Path to Cloud Temple used as backdrop." width="520" height="572" class="size-large wp-image-12090" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/GirlBubbles1b-520x572.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/GirlBubbles1b-280x308.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/GirlBubbles1b-418x460.jpg 418w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/GirlBubbles1b-200x220.jpg 200w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/GirlBubbles1b.jpg 1024w" sizes="(max-width: 520px) 100vw, 520px" /><div class='wp-caption-text shiba-caption'>Another example image with Thin-Walled bubbles.</div></div> <!-- End shiba-stage --></div></div>
<div class="alignspace"></div>
<h2>3. Under-Water Scene</h2>
<p>There are two important aspects in an underwater scene, volumetric or atmospheric effects and caustics. I achieve my underwater atmospheric effect by using <a href='https://www.anrdoezrs.net/links/3576029/type/dlg/https://www.daz3d.com/atmocam-for-iray' rel='nofollow'>AtmoCam for Iray by Marshian.</a> We can also set up our own volumetric cube by following some of the guidelines discussed <a href='https://www.dpbolvw.net/links/3576029/type/dlg/https://www.daz3d.com/forums/discussion/59007/need-help-with-underwater-scene-in-iray#Comment_859342' rel='nofollow'>here</a> (in the Daz3D forum).</p>
<blockquote>
<p>In optics, a caustic or caustic network is the envelope of light rays reflected or refracted by a curved surface or object, or the projection of that envelope of rays on another surface.<br />
~~[<a href="https://en.wikipedia.org/wiki/Caustic_(optics)">Wikipedia</a>]</p>
</blockquote>
<p>In water, cool caustic patterns are made by the curves of surface waves. To generate these caustic patterns in my underwater scene, it is easiest and most time effective to fake it using a Gobo light. </p>
<ol>
<li>I first did a search for &#8220;water caustics texture&#8221; and download some patterns that I like.</li>
<li>Then, I placed a spotlight up high up in my scene, and point it down at my focus area. I want it high enough so that it casts a bunch of almost parallel rays into my scene.</li>
<div id='12116' class='wp-caption frame3 alignright' style='width:280px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:280px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader17a-280x236.jpg" alt="Screenshot of how to invert my water caustics pattern using the Layered Image Editor." width="280" height="236" class="size-medium wp-image-12116" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader17a-280x236.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader17a-520x439.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader17a-460x388.jpg 460w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader17a-220x186.jpg 220w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/IrayWaterShader17a.jpg 810w" sizes="(max-width: 280px) 100vw, 280px" /><div class='wp-caption-text shiba-caption'>I invert my caustics image using the Layered Image Editor.</div></div> <!-- End shiba-stage --></div></div>
<li>Next, I create a plane and apply my water caustics texture to the <strong>Cutout Opacity</strong> parameter of the plane. White represents opaque and black represents transparent. Therefore, I want my caustics lines to be in black and all the rest to be in white. If necessary, I can invert the image using the <strong>Layered Image Editor.</strong></li>
<li>Finally I position the plane in front of my light so that it casts the proper shadows onto my underwater floor plane. </li>
</ol>
<div id='12114' class='wp-caption frame3 aligncenter' style='width:520px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:520px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid2a-520x572.jpg" alt="Underwater mermaid with fake caustics from a Gobo light. " width="520" height="572" class="size-large wp-image-12114" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid2a-520x572.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid2a-280x308.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid2a-418x460.jpg 418w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid2a-200x220.jpg 200w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid2a.jpg 1024w" sizes="(max-width: 520px) 100vw, 520px" /><div class='wp-caption-text shiba-caption'>Finished underwater mermaid scene with caustics from a Gobo light.</div></div> <!-- End shiba-stage --></div></div>
<p>Another way to achieve caustics is to do it for real by setting up an appropriate scene with appropriate shaders, and then letting the Iray renderer physically generate the water caustics pattern. This will take much longer to render, but will create more realistic looking results. </p>
<p>It was a big challenge for me to get Iray to generate caustic patterns in my underwater scene. I was finally only able to do it by using <a href='https://www.dpbolvw.net/links/3576029/type/dlg/https://www.daz3d.com/gallery/images/79850/' rel='nofollow'>Overcomeon&#8217;s underwater caustic test scene.</a></p>
<p>Remember that the caustic patterns are formed by reflection and refraction off the curved surface of waves, on our water. Therefore, we will need waves on our water plane. In addition, reflection also plays a very important role to bounce off our light rays, thereby increasing the area where the patterns are created. To get caustics in my scene, I needed to place several large planes around my scene to bounce off my sunlight. </p>
<p>Finally, we also want to go to <strong>Render Settings > Optimization</strong> and turn ON the <strong>Caustic Sampler</strong> parameter. This will hopefully increase render efficiency of caustics in our scene. Note that this is just an optimization or render efficiency setting. </p>
<div id='12120' class='wp-caption frame3 aligncenter' style='width:520px' ><div class='shiba-outer shiba-gallery' ><div class='shiba-stage' style='width:520px'><img loading="lazy" src="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid3a-520x572.jpg" alt="Underwater mermaid with real caustics from the Daz Studio Iray renderer." width="520" height="572" class="size-large wp-image-12120" srcset="https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid3a-520x572.jpg 520w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid3a-280x308.jpg 280w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid3a-418x460.jpg 418w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid3a-200x220.jpg 200w, https://cdn.thinkdrawart.com/wp-content/uploads/2015/08/Mermaid3a.jpg 1024w" sizes="(max-width: 520px) 100vw, 520px" /><div class='wp-caption-text shiba-caption'>Finished underwater mermaid scene with real caustics from the Daz Studio Iray renderer.</div></div> <!-- End shiba-stage --></div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://thinkdrawart.com/water-shader-tutorial-for-daz-studio-iray/feed</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 25/119 objects using disk
Page Caching using disk: enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.thinkdrawart.com
Lazy Loading (feed)
Minified using disk
Database Caching 2/22 queries in 0.017 seconds using disk (Request-wide modification query)

Served from: www.thinkdrawart.com @ 2023-02-16 10:05:27 by W3 Total Cache
-->