Render text on canvas using WebGL -


i want render text on canvas using webgl, api of webgl should used?

note: "text" can either plain text or html snippet css style

most demos i've seen text of sort (like fps counter) create html element text want , position on canvas. approach text want show "in" canvas (ie: menus).

the exception if want text actual part of 3d scene (like, say, text on billboard), in case methodologies wouldn't different rendering text in standard opengl. can find robust example here: http://dmedia.dprogramming.com/?n=tutorials.textrendering1

there's a webgl tutorial text here.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -