YOUR ACCOUNT

Rachel Duim
So Called Tortured Artist

Posts: 2532
Filters: 191
I've attached a test filter. At the end of the chain before the result is an IF-THEN-ELSE component controlled by a Checkbox. If you change the value on the checkbox, the patterns leaving the THEN-ELSE part do not change. Unplug the inputs into the THEN-ELSE and change the checkbox. You will see the colors change.

Mac OSX 10.10.4, FF 5.004

if-then-else-test.ffxml
Math meets art meets psychedelia.
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3502
It's not a bug, it's cunning behavior of the If component.
It performs channel-wise comparison of the two source colors and generates the output based on this comparison. In your case the alpha channel of the Source A and Source B colors is identical, thus the result borrows its alpha from the Then input.

Yes, this is kinda counter-intuitive, I know smile:)
  Details E-Mail
Rachel Duim
So Called Tortured Artist

Posts: 2532
Filters: 191
I wondered if it had something to do with shared alpha. In this case if-then-else looks elegant, but a switch is clearly more efficient. Curiosity said, let's try this...
Math meets art meets psychedelia.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,801 Registered Users
+10 new in 30 days!

153,700 Posts
+301 new in year!

15,373 Topics
+40 new in year!

Create an Account

Online Users Last minute:

13 unregistered users.