cginternals / cginternals/webgl-operate

support msdf fonts for text rendering

Open
#238 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue haeley-webgl-text help wanted
Dominant language
TypeScript
Stars
170
Forks
25
PR merge metrics
No merged PRs in 30d

Description

https://soimy.github.io/msdf-bmfont-xml/ seems to be an excellent msdf generator (utf-8 support, good parameterization etc.). The glyph fragment shader needs to account for 4 channel distance fields instead of a single one.

- [ ] Implement switch to enable MSDF instead of SDF
- [ ] Implement simple example comparing both techniques side by side

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the glyph fragment shader and the linked msdf-bmfont-xml generator. Trace how the renderer currently handles SDF text, then implement the MSDF switch and add the requested side-by-side comparison example. Done means both SDF and MSDF rendering can be enabled and compared.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.