Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Alpha mix glowing textures

  • Alpha mix glowing textures

    Posted by Darby Edelen on June 8, 2010 at 6:29 pm

    Hey guys,

    I’m trying to create an animation in which a dial rotates and changes the color of a glowing indicator. I have two materials applied to the indicator, one is a glowing luminous red material and the other is a glowing luminous green material. The way I’m handling this currently is by using xpresso to link the rotation of the dial to the alpha channel value of the upper (red) material so that it fades away as the dial rotates. The issue I’m having is that the red glow fades out with the red layer, but the green glow does not appear at all until the red layer is entirely invisible.

    Are there any suggestions for getting around this?

    Initially I was planning to use a Color shader in the luminance channel of a single material and using xpresso to step along a gradient to determine the color of the luminance, but in that case I did not know how to sample the correct point in the gradient. If anyone can suggest how to accomplish that, you would rock 🙂

    Darby Edelen

    Darby Edelen replied 15 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Brian Jones

    June 9, 2010 at 12:01 am

    Here’s one way to do it, definitely not the only way.

    816_redgreenfade.zip

  • Darby Edelen

    June 9, 2010 at 6:07 pm

    Thanks Brian! The solution I ended up finding yesterday was similar. I actually figured out that I could use the scalar ‘dial’ value as an input for a Range Mapper node set to the Vector data type, then feed user defined colors into my lower and upper outputs to get a good effect in one material.

    Nice to see I’m not entirely bluffing my way through this stuff 😉

    Darby Edelen

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy