What you are doing here is mixing a MATERIAL with a shader, not a shader with a shader. Materials =/= Shaders.<div>And I believe this is possible btw.<br><br><div class="gmail_quote">On 19 December 2011 12:51, Constantin Rahn <span dir="ltr">&lt;<a href="mailto:conz@vrchannel.de">conz@vrchannel.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
would it make sense to have the possibility to reuse a shader in a<br>
different shader, to expand an existing one?<br>
I don&#39;t want to request this feature, yet. But I want to know if<br>
something like this is on the ToDo list?<br>
Would it be to dangerous, bec. there is the possibility to build an<br>
infinite loop with it? (Both shaders are referencing to the other one)<br>
<br>
Here is a small draft how it could look as a node. Maybe as an extra<br>
input node or as an attribute.<br>
<br>
<a href="http://www.vrchannel.de/blender/Matinput01.png" target="_blank">http://www.vrchannel.de/blender/Matinput01.png</a><br>
<a href="http://www.vrchannel.de/blender/Matinput02.png" target="_blank">http://www.vrchannel.de/blender/Matinput02.png</a><br>
<br>
I have the situation in one of my projects, where I have a base material<br>
and some slightly extended versions of it. Right now I have to copy the<br>
whole shader in the new extended one. If I want to change the base<br>
material, than I have to change it in all of the versions, too. It would<br>
be nice to change only the base material and all extended versions are<br>
changed to the new values, too.<br>
<br>
What do you think about this?<br>
(I&#39;m no developer)<br>
<br>
Best regards,<br>
Conz<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>
</blockquote></div><br></div>