Jump to content

Canvas2D and Shaders


primesoftware
 Share

Recommended Posts

  • 1 month later...
On 7/3/2016 at 9:14 PM, Deltakosh said:

Hey!

what is the final goal you try to achieve?

@Deltakosh I totally forgot about this thread, but could really use some input here. The text quality of the Text2D class is not so great (at least for me). In fact some letters like the lowercase "y" have an artifact flying above. I tried poking around to see how Text2D is implemented and I was thinking of writing a plugin to used a signed distance field to get nice crisp text. Specifically, I want to use a texture atlas with glyphs made by this program (https://github.com/Chlumsky/msdfgen). The problem however is you need to use a specific shader to get it to work.

Also, I've been thinking of making a GUI that I might like to make a texture atlas for buttons and would like to apply that to Rectangle2D. This is a long term goal, but for now I would like to get the text working nicely.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...