• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Merge Fading Filters ?!

Status
Not open for further replies.
Level 15
Joined
Oct 29, 2012
Messages
1,474
Hello guys,

I wonder if there is a way to merge/combine fade filter images.

Example: There is an image with Yellow color (Alpha 50%) and another Image with Red (50% Alpha too), after merging, an orange 100% alpha photo is resulted.

I need that for some small thing and I hope there is a way...

Any ideas?

Thanks.
 
I don't think there is a way to display two filters at the same time.

If they are just colored filters (e.g. yellow, red, w/e), then you can compute the average color of the two filters (linear blend).

For example, if you want to merge a red filter with color (100% red, 0% green, 0% blue) with a yellow filter (100% red, 90% green, 0% blue), then you would end up with an orange filter (100% red, 45% green, 0% blue). Just take the two red values, add them up and divide by two. Do the same for the green and blue values.
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
I don't think there is a way to display two filters at the same time.

If they are just colored filters (e.g. yellow, red, w/e), then you can compute the average color of the two filters (linear blend).

For example, if you want to merge a red filter with color (100% red, 0% green, 0% blue) with a yellow filter (100% red, 90% green, 0% blue), then you would end up with an orange filter (100% red, 45% green, 0% blue). Just take the two red values, add them up and divide by two. Do the same for the green and blue values.

Thanks ! Well the idea hits two birds (or more) by one stone. All what the idea was about , is showing "arrow key" controls at the bottom right of the screen, some games use different controls, so fade filters are "keys", when I merge two fade filters, it's like I want to show arrow buttons and "Q" button, when the game doesn't need "Q" button, I remove the "Q" button filter.

After all, it was impossible. Thanks again :D
 
Status
Not open for further replies.
Top