-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
How does the anti-aliasing version works ? #207
Comments
I feel like I must be missing some important points, but wouldn't reducing the image.color.a just... Make the image transparent? |
In clipping, referencing the bilinearly interpolated pixel values for small gaps provides a stencil result with a higher resolution than the actual pixel size. BTW, this method cannot be used with point-filtered sprites. |
Oh! So the clipping is still perfectly binary, but it solves the issue of a mask with too low resolution |
Exactly! |
I've looked through the code, but I can't find anywhere how the AA version works.
It's not a render texture per the Readme, but I don't see how you can use a stencil to do this kind of effect.
The text was updated successfully, but these errors were encountered: