Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Instanced font rendering (continued)


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Yours3!f   Members   -  Reputation: 1385

Like
1Likes
Like

Posted 03 August 2014 - 11:02 AM

hi there,

 

I extended my font rendering lib so that you can color your characters any way you want them, in any size, highlight each character separately, add underlining, overlining, strikethrough, draw them at any location with correct line heights, gaps, and kerning (some of this is based on freetype-gl: https://github.com/rougier/freetype-gl).
All of this in one draw call, one vao, one texture, one shader, everything instanced, SUPER FAST :D
Licence is MIT, download here, feel free to use: https://github.com/Yours3lf/instanced_font_rendering

It should be super easy to integrate.

Requires GL3.x

 

best regards,

Yours3!f



Sponsor:

#2 DemonDar   Members   -  Reputation: 149

Like
0Likes
Like

Posted 04 August 2014 - 03:07 AM

Very nice:)






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS