Do I want to present some text on the canvas using WebGL, which should be used in WebGL's API?
Note: "Text" can be either plain text or HTML snippet with CSS style
Most of the demos I have seen that any type of text (such as FPS counter) just creates an HTML element, which they want and place it on the canvas. This is probably a good view for most lessons that you want to show "canvas" (i.e.: menu).
The only exception would be if you want to make the text an actual part of the 3D view (i.e., text on a billboard), in this case the methods will not be different from the rendering in the standard OpenGLL text here Very good strong examples can be found:
There is also.
Comments
Post a Comment