Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html5 Canvas rendering problems when movieclip has color Effect styles #2266

Open
piratejet opened this issue Oct 2, 2019 · 0 comments
Open

Comments

@piratejet
Copy link

piratejet commented Oct 2, 2019

When movieclip has color Effect styles and is rendered in Canvas it looks blurry.
I get assets from swf file and if any of movieclip has some color effect style like brightness, tint or even alpha and you scale it down it looks really blurry, especially fonts.
It works fine for webGL but for Canvas it doesn't.

image

for example first 3 textfields are loaded from swf file.
-first one has tint color effect,
-second one has no color effect,
-third one has alpha 50%

second 3 textfields are created by code and i tried to add the same effects that above ones had.
-in the first case they are both blurry, I think because filters doesn't look nice in Canvas when it's scaled down.
-in the third case it also acts the same for the Alpha property. you can see that there is a huge difference between the first and the second one below.

example here:
Test.zip

p.s I tested this on openfl 8.9.5 and lime 7.6.3 (latest ones)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant