Skip to content

gromchek/glconsole

Repository files navigation

glconsole

Quake-like console with commands and SDF text rendering

How to create SDF texture

You need a tool for generating text atlas (Windows)
Create texture and then run:

magick convert intexture.png -filter Jinc -resize 400% -threshold 30% ( +clone -negate -morphology Distance Euclidean -level 50%,-50% ) -morphology Distance Euclidean -compose Plus -composite -level 45%,55% -resize 25% outtexture.png

For converting bmfont config to JSON you need gofnt

Build

mkdir build & cd build
cmake ..
make

Assets dir
Just unarchive files to build/base directory

Dependencies

sdl2 2.0.10
glm 0.9.9.8
glew 2.1.0

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published