Forum: Carrara


Subject: Searching and Replacing Shaders

Davaris opened this issue on Jul 27, 2007 · 6 posts


Davaris posted Fri, 27 July 2007 at 1:26 AM

Hi Everyone,
  I was wondering if it is possible to select a group of shaders and replace them with another shader in one operation?


MarkBremmer posted Fri, 27 July 2007 at 6:57 AM

Hi Davaris, There is no one-click button to do that but it is very easy to do. In the Shader Room open the shader (Target) that is going to be changed. Next, open the shader (Source) that you want to convert the Target to. Click on the highest level of the Source shader and Alt/Option drag the shader tree to the highest level of the Target shader. Your done! :D Mark






Davaris posted Fri, 27 July 2007 at 8:00 AM

Thanks for answering Mark.

I was thinking of doing lots in one go, as one of my files is a bit of a mess. It has lots and lots of shaders with different names, but they are all the same colour.

I'd also like to be able to search for a named item and be able to assign a texture to the found ones, without having to group them together.

As an example imagine I have a room with 10 bunk beds and I want to change the colours on the legs to one colour. At the moment the only way I can do this is by grouping all of the legs together, which would take them out of their bunk bed groups.

Perhaps a plugin like this would be useful?


MarkBremmer posted Fri, 27 July 2007 at 8:09 AM

Pre-planning in 3d building is really, really important as you're finding out. When I build or create anything the first question I ask myself is, "How can I make this easy to change in my scene?" and then work accordingly. So, having "good" master shaders and groups that you duplicate is essential. There is a feature in the shaders worth checking out found in Complex -> Reference Shader. This allows you to create single shaders and then link them to many objects easily. So, when you change the master shader, all instances are updated. It's extremely useful when using procedural textures with the space set to Global. That way each instance of the shader looks unique but is actually the same shader! Mark






Davaris posted Sat, 28 July 2007 at 8:21 PM

Thanks Mark I'll check it out.

I didn't realise (because I was new to Carrara) when I first started making these renders, that you could drag and drop shaders into a shader pallet and then point your objects at those shaders.

Its just another one of the very logical things about Carrara. :)


bwtr posted Sun, 29 July 2007 at 1:13 AM

Carrara 5Stars!

bwtr