littlektframework / littlekt

A multiplatform WebGPU 2D game framework written in Kotlin. Build your own game engine on top.
https://littlekt.com
Apache License 2.0
314 stars 12 forks source link

Add Expirmental Vector font (TTF) rendering #166

Closed LeHaine closed 1 year ago

LeHaine commented 1 year ago

Renders TTF file by converting the bezier curves into triangles and rendering with a stencil test with 2 draw calls per flush. Experimental API.