diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-02-23 18:37:17 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-03-08 16:32:19 +0100 |
commit | fe2bc3961ec3b3164786074b37e36581b81fa68c (patch) | |
tree | bfc80bc4fb161e83f290da6294f0bffe9116500b /tools/gentextures.sh | |
parent | a4c2b8458d1059c373c4a714bce0b5f68a3ce20f (diff) | |
download | land-and-freedom-fe2bc3961ec3b3164786074b37e36581b81fa68c.tar.gz |
New client and client data processing tools.
Diffstat (limited to 'tools/gentextures.sh')
-rw-r--r-- | tools/gentextures.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gentextures.sh b/tools/gentextures.sh new file mode 100644 index 0000000..b9eabb9 --- /dev/null +++ b/tools/gentextures.sh @@ -0,0 +1,4 @@ +#!/bin/bash +pngtopnm tools/rock_overlay@2x.png | pnmnorm | pgmtoppm "#000000-#111111" | ppmquant 2 | pnmtopng > tools/texture_mask.png +convert tools/texture_mask.png -alpha copy -fx '#fff' images/texture.png +zopflipng -m -y images/texture.png images/texture.png |