Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Pick a Color in Material, Black out the Rest, Possible?

Howdy everyone!

The question might be simple but I got the feeling that the solution might be so hard that I won't get any response, but here goes nothing!

I got this chick below;

alt text

I need a way to get each tone and black out the rest. Here is an example of what I need to achieve in material editor. Lets say you wanted to have the second dark tone of the trousers;

alt text

Here is the result I want to achieve.

Note that I can't use an outer-opacity-mask-texture created in photoshop etc. Paper2D does not like it. And it does not fit when animating so I need to get the colors one by one.

Any small help is appreciated! Thanks!

Product Version: UE 4.10
more ▼

asked Dec 20 '15 at 10:30 PM in Rendering

avatar image

782 38 34 70

avatar image Logan Bailey ♦♦ STAFF Dec 22 '15 at 06:51 PM

Hello Achilleon,

So, if I understand this correctly, you would like a material that not only derives the location of the tone you want to show but also determines the other tones and location associated with this sprite and blacks those tones out? You are also saying that you can't use outer-opacity-mask-texture?

May I ask why you need this to happen? With more context as to why you need this to happen for this sprite I should be able to determine if this is possible as well as a viable solution.


(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello Mr Logan.

First of all sorry for the late response and thank you for trying to help.

The whole purpose is so I can create a palette system for my Fighting Game Template.

You know, using single opacity mask texture does not work because Paper2D is constantly updating unlike 3d where we have specified materials, so it's way easier for 3d to have something like this.

With this way, I would be able to seperate the colors and let the developer change the specified colors he wishes to make a simple palette system, or effects.

I got an answer to my problem at forums,


Though if you think there is a better way, I would like to hear! Thanks!

more ▼

answered Dec 25 '15 at 01:14 AM

avatar image

782 38 34 70

avatar image Logan Bailey ♦♦ STAFF Dec 29 '15 at 02:47 PM

That is what I was going to suggest but it looks like Achilleon has already provided this answer.


(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question