Text sprite is used to represent text as a sprite.
This approach is memory expensive since it needs to write a new texture for each text. But allows the used to access any font available in the browser.
The text is rendered to canvas and then copied to a texture. It automatically ajusts the object scale to match the text aspect.
Set the text to be displayed.
Update the canvas texture.
Redraw text into the canvas and update scale.
Vertical resolution of the texture created from canvas used.
Should always be a npot of 2.