openfl / openfl

The Open Flash Library for creative expression on the web, desktop, mobile and consoles.

Home Page:http://www.openfl.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DropShadowFilter renders incorrectly when applied onto a TextField

ThePlank opened this issue · comments

Describe the bug
when applying DropShadowFilter onto a TextField, it appears weirdly skewed

appears on openfl 9.2.2, but i tried openfl 9.3.1 and the same issue appears

To Reproduce
Steps to reproduce the behavior:

  1. create a textfield
  2. apply a dropshadowfilter onto it
  3. ????
  4. profit

Expected behavior
regular drop shadow like how it appears in adobe animate

Screenshots
comparison between the same dropshadow settings in Adobe Animate 2022 and OpenFL
image

also added a textfield in the functional test and tried it on html5
image

OpenFL Targets

  • html5
  • hashlink
commented

In old ( how old ?) openfl versions it worked. I had the problem with "glow" As an alternative you can use shaders https://github.com/loudoweb/openfl-shaders