YOUR ACCOUNT

Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
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: 3491
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: 2498
Filters: 188
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,711 Registered Users
+18 new in 30 days!

153,531 Posts
+36 new in 30 days!

15,347 Topics
+72 new in year!

Create an Account

Online Users Last minute:

18 unregistered users.