primesoftware Posted July 3, 2016 Share Posted July 3, 2016 Is it possible to apply a shader to a Canvas2D entity (i.e. a Rectangle2D)? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 4, 2016 Share Posted July 4, 2016 Hey! what is the final goal you try to achieve? Quote Link to comment Share on other sites More sharing options...
primesoftware Posted August 6, 2016 Author Share Posted August 6, 2016 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. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 8, 2016 Share Posted August 8, 2016 @Nockawa is really open to suggestion. Feel free to provide a PR if you find a better way to render text. He is on holidays for now but will be with us soon Quote Link to comment Share on other sites More sharing options...
MasterK Posted August 9, 2016 Share Posted August 9, 2016 11 hours ago, Deltakosh said: @Nockawa is really open to suggestion. Feel free to provide a PR if you find a better way to render text. He is on holidays for now but will be with us soon ...he has so many holidays... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 9, 2016 Share Posted August 9, 2016 He is french!!! MasterK 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted August 10, 2016 Share Posted August 10, 2016 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.