Some helper scripts or programs for shaders development.
Reminder for scripts/
If there is a requirements.txt
file in the same folder of the script, run:
pip install -r requirements.txt
to install dependencies.
Generate template.lang file from shaders.properties.
Currently only support generating profile, screen and option entries.
Generate 8px font encodings in glsl uvec2s.
Currently no layout information generated.
Usage:
python text_enc_gen.py <font> [-c charset_file] [-o output_glsl] [-t text]
where output_glsl
is the output glsl definitions file for charset_file
and emit a uvec2 glsl array to stdout for text
.