MSDF font rendering + improved resource tracking #52

Merged
cosmonaut merged 17 commits from msdf into main 2023-12-15 18:46:44 +00:00

This is a major rewrite of the Font system. MoonWorks now uses MSDF font rendering, which allows high quality rendering of fonts at arbitrary sizes.

We now ship default embedded shader binaries for Video and Font. If you replace them with shader binaries of the same name located in your base directory, those will be used instead.

Many improvements have been made to resource tracking to prevent memory corruption, particularly on shutdown.

You must be careful not to leak AudioResource classes in particular, as there isn't much we can automatically do to recover from this without potentially crashing your game.

This is a major rewrite of the Font system. MoonWorks now uses MSDF font rendering, which allows high quality rendering of fonts at arbitrary sizes. We now ship default embedded shader binaries for Video and Font. If you replace them with shader binaries of the same name located in your base directory, those will be used instead. Many improvements have been made to resource tracking to prevent memory corruption, particularly on shutdown. You must be careful not to leak AudioResource classes in particular, as there isn't much we can automatically do to recover from this without potentially crashing your game.
cosmonaut added 17 commits 2023-12-15 18:44:56 +00:00
cosmonaut force-pushed msdf from 4dd53fc6a4 to ffd8ada543 2023-12-15 18:46:27 +00:00 Compare
cosmonaut merged commit 4dbd5a2cbe into main 2023-12-15 18:46:44 +00:00
cosmonaut deleted branch msdf 2023-12-15 18:46:44 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonsideGames/MoonWorks#52
There is no content yet.