Implemented serialization and editor inspector display for text renderer component #234

Merged
Xenosas1337 merged 3 commits from SP3-1-Rendering into main 2022-11-20 22:41:07 +08:00

3 Commits

Author SHA1 Message Date
Brandon Mak 5d3603ac7d Text Renderer Component serialization 2022-11-20 22:24:24 +08:00
Brandon Mak c686954c77 Implemented Text Rendering
- The Text Renderer Component serialization and reflection onto inspector is not in yet, but there is basic functionality.
- Updated shaders
- Topology for text rendering is changed to triangle fan. Front facing for primitives is clockwise. Vertex state has both the positionOffset and glyphIndex attribute set as instanced.
-  Freetype instance is now initialized in InitBoilerplate
- SHCamera no longer calling SetPerspective/Ortho inside HandleResize
- Font Geometry is now loaded in SHFontLoader into SHFontAsset fontGeometry variable.
2022-11-20 19:03:12 +08:00
Brandon Mak 85f0b67f67 Merge branch 'main' into SP3-1-Rendering 2022-11-20 15:44:31 +08:00