A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Texturing Clones with Shader
Posted: 07 December 2017 03:21 AM   [ Ignore ]  
Total Posts:  2
Joined  2014-05-12

Some info on the setup:

Just a single Rectangle Spline in an Extrude (extruded +Y) dropped into a Cloner with the Mode set to Grid Array. I have a Shader Effector I’m using to effect the Scale of the clones. The shader itself is a Layer with 2 Gradient shaders (both 2D Circular) and a Noise shader. The Noise shader layer has Animation Speed set to .3. I have the Shader’s Color Mode set to On, so all of the individual clones are colored differently in this tiel to black gradient. As the animation plays the size of the clones and their color changes. The last addition to this is a simple Xpresso with a Time node driving the Shader’s Mapping, OffsetU (this makes sort of a wave right to left along with the Noise animation).

So I really like the look of all these individual clones colored differently, their colors changing slowly as their scale is effected by the Noise and Offset U. My problem is I want to mess around with other texture options like reflection, transparency, maybe glow, but I can’t figure out how to get a regular Material to color the clones the same way the Shader currently is.

Is there a way to apply a Material to the cloner that will color it in the same way that my Shader Effector is coloring it?

Profile
 
 
Posted: 07 December 2017 03:39 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi footthumb,

Nearly any effector can do this, provide coloring to the clones. There is an option to multiply, add, etc color from one Effector to the next.
https://www.amazon.com/clouddrive/share/dGO2ohV8XRsPLZqDALlt2DosEampHorJGJmLecyiFgp
However, it is a one color per clone only, or a certain area of the clone if one works with selections. No reflection nor, e.g., bump is possible just with Effectors.

I have the impression that the way below is more what you are after.

Please have a look at the file:
Scene file
https://www.amazon.com/clouddrive/share/WdD7HdC31EyMUQFg8bq9w9FxHbqT28X9ZH4IKB6lPMI

The MoGraph Color shader, set to color (vs to ID) will take the given color and provides it to the Material-channel in which it is applied. This shader can be used with a Layer Shader or the Colorization shader for example.

It can be used in all channels that can take a Shader/Texture.
All other channels can be set up as wanted.
Please let me know if you have any further questions, I’m happy to look into it.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
   
 
 
‹‹ Q&A_miscellaneous      Pose Morph tag ››