MAXON CINEMA 4D: Cinema 4D Forum Adobe After Effects Forum

Tinting bitmap texture with random color

COW Forums : Maxon Cinema 4D

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Sasha ZelmanTinting bitmap texture with random color
by on Oct 30, 2011 at 5:31:38 am

Is there a way to tint image-based texture of clones with random colors?


Return to posts index

Adam TrachtenbergRe: Tinting bitmap texture with random color
by on Oct 30, 2011 at 3:07:02 pm

Place your multishader inside a layer shader and then add a colorizer shader on top. Load the mograph color shader into the colorizer shader and then adjust the colorizer's gradient to include the colors you want. Choose the desired transfer mode for the colorizer layer (probably screen or color) and that should do it.


Return to posts index

Sasha ZelmanRe: Tinting bitmap texture with random color
by on Oct 31, 2011 at 8:18:45 pm

Adam,

Thank you again. I will try to follow your instruction, but since there is so much nesting going on a sample material would help a lot. Is there a good flowchart diagram somewhere online of how shaders can be nested within other shaders and to what effect?

If I understood you correctly the layer shader will have two layers - colorizer (top) and multishader , the colorizer should be applied in one of the blending modes that affect the color of the multishader. Colorizer in turn should have color shader with appropriate gradients to choose color from?


Return to posts index


Adam TrachtenbergRe: Tinting bitmap texture with random color
by on Oct 31, 2011 at 9:57:32 pm

You've got the basic idea. The Colorizer shader has a gradient built in. What it does is apply the colors in the gradient based on the grayscale values of the texture or shader you load into it. Thus, if you load in a mograph color shader, the color shader will control which part of the gradient is applied to a given clone.

Here's a sample file: 3163_tintingclones.c4d.zip


Return to posts index

Sasha ZelmanRe: Tinting bitmap texture with random color
by on Nov 2, 2011 at 8:19:39 pm

Adam,

As always, huge thank you.


Return to posts index

Ibrahima NiangRe: Tinting bitmap texture with random color
by on Dec 21, 2014 at 3:32:44 pm

Great, very helpful.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]