-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Support for viewport scaling #231
Labels
Comments
4 tasks
Out of interest where are you multiplying this in the dropshadow filter? I'm not having any lock applying this to the offsets. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our team is implementing a "zoomable" renderer, and for this we require the filter's effects also increase according to the current scale/zoom.
To solve this problem, we multiply certain quantities by the current scale. For example, in motion-blur we multiply the velocity by the current viewport scale.
We have done this to motion-blur, drop-shadow, bevel and (possibly) others too. Would you guys accept this style on your codebase? (It is a backward-compatible change)
The text was updated successfully, but these errors were encountered: