Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 960 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 960 Bytes

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