Replies: 3 comments 3 replies
|
Are you having performance issues with text rendering in bevy? Also, even if there was performance issue, it's unclear if Slug would actually improve performance compared to alternative solutions. |
|
I agree that Slug would be really useful for some usecases, particularly text that exists in 3D space, but is there a reason that it should be upstreamed to Bevy? I feel like it’s a great candidate to be an ecosystem crate since it’s self-contained and serves a different purpose to regular text nodes, although if UI and 3D nodes get unified (which I believe might be planned) then there’s a stronger motivation to upstream it as an optional alternative rendering method for the built-in text component. |
I have developed a Bevy plugin that implements this https://github.com/yuanyan3060/bevy_slugtext |

Uh oh!
There was an error while loading. Please reload this page.
"Slug renders text and vector graphics on the GPU directly from Bézier curve data without the use of texture maps containing precomputed or cached images of any kind" -Eric Lengyel
Slug was under patent from 2019 through 2038, but Eric has graciously released his patent and given Slug to the public domain. He's also published Slug's "reference" pixel and vertex shaders at https://github.com/EricLengyel/Slug under a the permissive MIT license.
All reactions