Nate,<div><br></div><div>Your expression is still dependent on earth rotation, what is not good. Don&#39;t know who to fix it.<div><br></div><div>For you Earth model, citylights should be an emission shader, so it lights in shadow.<br clear="all">
<div><br></div><div><div>Adriano</div></div>
<br><br><div class="gmail_quote">2012/8/11 Nate Wiebe <span dir="ltr">&lt;<a href="mailto:natewiebe13@gmail.com" target="_blank">natewiebe13@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Just for fun, I went ahead and tried using it. I&#39;m not totally happy<br>
with it, but here&#39;s my result: <a href="http://natewiebe.com/earth_test1.png" target="_blank">http://natewiebe.com/earth_test1.png</a><br>
<br>
-NateW<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Aug 11, 2012 at 12:47 PM, Nate Wiebe &lt;<a href="mailto:natewiebe13@gmail.com">natewiebe13@gmail.com</a>&gt; wrote:<br>
&gt; Thanks, hope it&#39;s useful.<br>
&gt;<br>
&gt; -NateW<br>
&gt;<br>
&gt; On Sat, Aug 11, 2012 at 11:14 AM, Adriano Oliveira<br>
&gt; &lt;<a href="mailto:adriano.ufrb@gmail.com">adriano.ufrb@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Pretty good job, Nate!<br>
&gt;&gt;<br>
&gt;&gt; @Antony: I didn&#39;t get it. Would you make an example?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Adriano A. Oliveira<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2012/8/11 Nate Wiebe &lt;<a href="mailto:natewiebe13@gmail.com">natewiebe13@gmail.com</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Okay, so I think I&#39;ve managed to come up with a pretty good rig here.<br>
&gt;&gt;&gt; I used a mapping node using rotation of the sun lamp as a driver.<br>
&gt;&gt;&gt; Position of the sun lamp/earth doesn&#39;t effect anything, rotating the<br>
&gt;&gt;&gt; earth doesn&#39;t effect anything, just the rotation of the sun. Control<br>
&gt;&gt;&gt; the sharpness of the transition using the black slider of the color<br>
&gt;&gt;&gt; ramp, and control where the median of the transition line is using the<br>
&gt;&gt;&gt; Z position value of the mapping node. Everything should make more<br>
&gt;&gt;&gt; sense when you look at the file.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; If you make any improvements, or this helps you out, let me know. =)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have uploaded on ubuntuone as pasteall isn&#39;t working at the moment:<br>
&gt;&gt;&gt; <a href="http://ubuntuone.com/6bk2t4ZxIcFBFnVsNHnTZ4" target="_blank">http://ubuntuone.com/6bk2t4ZxIcFBFnVsNHnTZ4</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -NateW<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Fri, Aug 10, 2012 at 9:54 PM, Adriano Oliveira<br>
&gt;&gt;&gt; &lt;<a href="mailto:adriano.ufrb@gmail.com">adriano.ufrb@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; &gt; Is there a way to map a texture in the shadow area of a geometry.<br>
&gt;&gt;&gt; &gt; I&#39;m trying to map a citylight map as emission in the shadow of planet<br>
&gt;&gt;&gt; &gt; Earth.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Adriano A. Oliveira<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt; &gt; Bf-cycles mailing list<br>
&gt;&gt;&gt; &gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt;&gt;&gt; &gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt;&gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt;&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt;<br>
_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
</div></div></blockquote></div><br></div></div>