I would like to know the status of filters, in particular GlowFilter, for native targets. From what I read from various sources (forum/changelog, etc) seems like it should work. But I can’t get it working on my machines.
openfl = 8.3.0; lime = 6.4.0;
target = win10 / mac
-
GlowFilter on text field is shown as solid color outlines:
-
GlowFilter on bitmap has no effect at all.
Code:
tf = new TextField();
var font = Assets.getFont('fonts/black.ttf');
tf.defaultTextFormat = new TextFormat(font.fontName, 80, 0x84C3EB, null, null, null, null, null, TextFormatAlign.CENTER);
tf.embedFonts = true;
tf.selectable = false;
tf.filters = [new GlowFilter(0x84C3EB, 0.5, 32, 32, 1, 3)];
addChild(tf);