Commit Graph

9 Commits

Author SHA1 Message Date
Wuzzy 960aff2f63
Improve opaque leaves textures (#3013) 2023-07-18 22:28:01 +02:00
ExeVirus 6bd059915c
Safe texture compression (#2808)
Only a single program was used to safely compress all textures in MTG.

 * `optipng -o7 -zm1-9 -nc -strip all -clobber %%f`

The key command used is -nc, which stops color mode changes. I.e. any RGBA textures will remain RGBA textures, with none being changes to 8-bit indexed mode.

utils/optimize_textures.sh performs this compression automatically, assuming optipng is installed.
2021-02-12 20:55:18 +01:00
paramat 7998de671f Default: Convert remaining indexed leaves to RGBA
Some GPUs cause visual bugs when mip-mapping is used with indexed textures
that use alpha. Because leaves are sometimes rendered opaque it is even
more important to keep these as RGBA to preserve the correct background
colour.
2016-12-04 06:36:05 +00:00
jp f86ac2fdff Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
David Gumberg e106fd51ca Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00
Sfan5 c2ce3d032e Pngcrush all Textures 2013-05-25 16:20:35 +02:00
PilzAdam fcf0816fa8 Move all common mods back to minetest_game 2013-05-18 16:05:16 +02:00
PilzAdam d6ec56811b Use common mods 2013-03-21 18:44:36 +01:00
PilzAdam 4b9914fdcb Add jungleleaves, junglewood and junglesapling 2013-03-16 21:55:29 +01:00