Hi guys! I’ve been playing around with the new blend modes introduced since build 2013.2015 and from what I see the behaviour is as “Clip-To-Self compositing mode” for blending as shown here:
Is there any way to use those blend modes as the “normal compositing mode”? Im looking for srcIn and dstIn to work with the transparent effect.
In the release notes there’s an interesting feature that could be the solution to my problem:
- Tachyon: Add object.fill.blendMode/blendEquation. Blend modes now include PorterDuff modes. Valid blendmode values are: “clear”, “src”, “dst”, “srcOver”, “dstOver”, “srcIn”, “dstIn”, “srcOut”, “dstOut”, “srcAtop”, “dstAtop”, “xor”. It also includes support for specifying the src/dst color values via a table, e.g. object.fill.blendMode = { srcColor=“one”, dstColor=“oneMinusSrcAlpha” }. Note that srcColor and dstColor are required keys while srcAlpha and dstAlpha are optional.
But I have no idea how to use those values nor what to expect from that, could you explain me how that works? :rolleyes:
Thanks!
Ivan