|
@@ -115,6 +115,17 @@
|
|
|
</div>
|
|
|
|
|
|
|
|
|
+ <h2>6. Troika Text</h2>
|
|
|
+ <div>
|
|
|
+ <p>The <a href="https://www.npmjs.com/package/troika-three-text">troika-three-text</a> package renders quality antialiased text using a similar technique as BMFonts, but works directly with any .TTF or .WOFF font file so you don't have to pregenerate a glyph texture offline. It also adds capabilities including:</p>
|
|
|
+ <ul>
|
|
|
+ <li>Effects like strokes, drop shadows, and curvature</li>
|
|
|
+ <li>The ability to apply any three.js Material, even a custom ShaderMaterial</li>
|
|
|
+ <li>Support for font ligatures, scripts with joined letters, and right-to-left/bidirectional layout</li>
|
|
|
+ <li>Optimization for large amounts of dynamic text, performing most work off the main thread in a web worker</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+
|
|
|
|
|
|
</body>
|
|
|
</html>
|