Results 1 to 4 of 4
  1. #1
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Posts
    139

    Exclamation Change character color ..?? for the variety

    Hi,

    I repeated same question in two places as I dnt know from what place I'll get the correct answer. Sorry for that.

    I have a character that act in my UDK game. For the re-usability I need to change the color of its shirt. That all what I need.
    Can I do this in UDK. I am asking because I am not familiar with modeling stuff like 3Dmax.

    Thankx

  2. #2
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    302

    Default

    Yes, you just need some kind of a texture mask for that part of your characters texture that will change it's color. In the material editor you can multiply that mask by a vector parameter that will define the color.
    3.1415926535
    Blog

  3. #3
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Posts
    139

    Default

    Quote Originally Posted by mAlkAv!An View Post
    Yes, you just need some kind of a texture mask for that part of your characters texture that will change it's color. In the material editor you can multiply that mask by a vector parameter that will define the color.
    Can you give me a reference which makes things clear of your idea?

  4. #4
    Boomshot
    Join Date
    May 2011
    Location
    Chicago
    Posts
    2,062

    Default

    You would have to make the shirt in your main texture grayscale. Create a separate smaller black and white texture where the shirt is white and the rest of the texture is black.

    In your material editor, ad a linear interpolation node (lerp) and plug the smaller black and white texture into the alpha of the lerp node. Then plug the original texture into one input slot of the lerp, and then multiply this same texture by a vector parameter node and plug the output of the multiply into the other input of the lerp node. Click on the vector parameter and in the properties on the bottom, choose a color. If the entire texture changes color except for the shirt, just switch the inputs that are in the lerp.

    Now you can right click the material, make an instance of it, and in the instance change the color of the vector parameter to get the new shirt color.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.