Skip to content

switch to MSDF text antialiasing method by Paul Houx#405

Merged
toji merged 4 commits intowebgpu:mainfrom
rconde01:improve-text-anti-aliasing
Mar 18, 2024
Merged

switch to MSDF text antialiasing method by Paul Houx#405
toji merged 4 commits intowebgpu:mainfrom
rconde01:improve-text-anti-aliasing

Conversation

@rconde01
Copy link
Contributor

Probably the quality could still be improved but I think this is objectively better.

@greggman greggman requested a review from toji March 18, 2024 04:43
Copy link
Contributor

@toji toji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a significant improvement, thanks! A few suggestions to keep the code style consistent, but otherwise LGTM!

For reference, here's a quick before and after shot:
Screenshot 2024-03-18 092310

And one that's zoomed in 4x so that you can better see the difference.
Screenshot 2024-03-18 092310-zoom

Looks quite a bit better in motion, too.

rconde01 and others added 3 commits March 18, 2024 12:41
Co-authored-by: Brandon Jones <tojiro@gmail.com>
Co-authored-by: Brandon Jones <tojiro@gmail.com>
Co-authored-by: Brandon Jones <tojiro@gmail.com>
@toji toji merged commit 7830516 into webgpu:main Mar 18, 2024
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

Successfully merging this pull request may close these issues.

2 participants