Rachel Duim
![]() |
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. |
|
Posted: August 27, 2015 9:10 pm | ||
GMM
Moderator
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 ![]() |
|
Posted: August 28, 2015 8:58 am | ||
Rachel Duim
![]() |
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. |
|
Posted: August 28, 2015 12:39 pm |
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!
18 unregistered users.