<div dir="ltr">You can totally create such thing using existing Max and Add nodes easily. But I don&#39;t see how that Clamp is going to help with anything?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 31, 2013 at 11:09 AM, lsscpp <span dir="ltr">&lt;<a href="mailto:lsscpp@gmail.com" target="_blank">lsscpp@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


When we put the fresnel in the BSDF node, the main issue is how you<br>
mix / layer such BSDF&#39;s. I haven&#39;t figured out a design yet for more<br>
advanced layering of BSDF&#39;s. Maybe the BSDF node needs to output some<br>
mix / layer weight, or we need a new Layer Shader node, or something<br>
else entirely? What would need to be done is look at some layered BSDF<br>
models, write down the equations and figure out how we can split that<br>
in composable nodes.<br>
<br>
I&#39;m not familiar enough yet with this stuff to give good advice, would<br>
need to do a lot more reading and thinking for that. The design would<br>
have to fit in the OSL closure model, where the result of a shader<br>
evaluation is a linear combination of closures. If a linear<br>
combination is not possible then a special layering closure could be<br>
created too, which takes other closures as parameters but I&#39;m not sure<br>
if this will be needed.<br>
<br>
Brecht.<br>
<br>
<br>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">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>
<br></blockquote></div><br></div><div class="gmail_extra">Why not have a add-shader node with multiple inputs, a slider for each one of them, and a Clamp switch?<br></div></div>
<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>
<br></blockquote></div><br></div>