-
-
Notifications
You must be signed in to change notification settings - Fork 828
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
DisplayObject filter tracking issue #15
Comments
I have all flash blur-based filters implementation in PixiJS WebGL if you need it ;) Drop shadow / Blur / Glow / Bevel I have two versions: "looks like" and "pixel-perfect". That's pixel-perfect flash blur: https://www.pixiplayground.com/#/edit/4rskiJ8lb8k6437WmSwKy Not related to filters: I know that AwayJS have complete avm1 support. My own port is based on Mozilla Shumway and I'm gonna publish it this autumn. I can explain all the filter mechanics , and how they relate to ColorTransform, I have many tests for it. |
Thank you, the shaders will definitely come in handy as I add filters to the GL backend! I am interested in both pixel-perfect and approximations and allowing the user to choose (for example, in the canvas2d backend, I'd be happy with using standard SVG filter effects). |
I dont know parameters for svg blur :( Shumway renderer has it, but its not that close as my webgl approximation. I know which kernel and strength to use for different values of quality for approximation. Pixel-perfect version is actually Fenwick tree :) In Flash, blur filter is just "average premultiplied ARGB in a rectangle" , quality shows number of times applied. |
Updates? |
No updates yet. Blend modes will probably be implented first as they all rely on "cache as bitmap" behavior. |
Is there a timeline for implementation? Are you planning to wait until everything else in AVM1 is complete? |
Similarly to #5538, Pursuit of Hat needs ColorMatrixFilter - the cannons are always shown as red because their colors are supposed to be set via ColorMatrixFilter. This is particularly annoying on levels 15 and 17 because it's impossible to know in advance which button will fire which cannon. (Just adding another example, for whatever it's worth) |
@ivanpopelyshev Ruffle is at the point where were implementing more filters. Could you share the source for the pixel-perfect flash filter implementations you mentioned? Thanks! |
The problem with Pursuit of Hat is fixed by #11702 (and other DO/AVM2 ColorMatrixFilter issues will also be fixed) |
@Aaron1011 t.meSLASHhackerham , write me in telegram, i'll share details. Cant post the source unfortunately ) |
Banned from Equestria has some remaining filter issues at night. |
It seems that DisplayObject filters are only implemented for the wgpu renderer. Are there any plans to implement them for the webgl render? Thanks |
The text was updated successfully, but these errors were encountered: