nmdist-log

Integrating the text rendering prototype

Today I (crudely) integrated the text rendering prototype into the engine. This uses an SDF atlas to draw text, although the shader isn’t quite right yet. But it’ll do for now, polish comes later.

Right now, I’ve got the main menu items drawing. The layout code only stacks text for now. Next will come a more dynamic layout and scaling to better fit most common window sizes/aspect ratios.

The main menu items from Half-Life