Commit Graph

17 Commits

Author SHA1 Message Date
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 2c5670563a Flowers: Add black tulip, green chrysanthemum
Adds a direct resource of green dye, and a flower resource of black dye.
Completes the colour sequence: red, orange, yellow, green, blue, violet.
Makes all base dyes cultivatable and sustainable, without the presence
of coal.

Add the new flowers to the world with the same density variation as the
others, but obviously with different noise seeds. Results in more flowers
in a world and more variety of flower combinations.
2017-11-27 01:51:33 +00:00
paramat c714d43319 Flowers: New texture for yellow dandelion
Derived from the white dandelion texture.
Uses the flower head colours of the previous yellow dandelion.
2017-06-08 15:52:00 +01:00
Martin Doege eb1805ea0a Textures: Strip color profiles from some textures
Removes the "iCCP: known incorrect sRGB profile" error messages on the
console when starting minetest_game by stripping offending color profiles.
2017-01-22 07:43:12 +00:00
paramat 47efa2f558 Textures: Revert many back to RGBA to fix visual bug
With mip-mapping enabled, some GPUs cause a visual bug with indexed
textures that use alpha. This bug has been present for a while but
not noticed before. All indexed alpha textures must now be converted
to RGBA, to start this process we revert some textures converted to
indexed in the recent commit af3c918.
2016-11-19 23:45:08 +00:00
Auke Kok af3c91862c Convert many textures to indexed color
This fixes all cases where the color profile was broken, and
libpng warns about. It also makes almost all textures indexed
instead of RGB where possible (textures that don't have
semi-transparent pixels).
2016-11-18 05:37:02 +00:00
Yutao Yuan e0bec501f2 Flowers: Fix misaligned waterlily texture
Previously waterlily has misaligned top and bottom textures and looks
different when viewed from below.

This also hides the flower in bottom texture.
2016-06-21 02:21:00 +01:00
Auke Kok 32bdb9a393 Remove spores from mushrooms.
These have almost no value gameplay wise. Mushrooms spread
by their very nature into appropriate soil nearby, and
harvesting spores is something only scientists do. Actual
mushroom farmers leave a few mushrooms and put on more
manure, and keep the light off.

Modify the growth ABM to test for light levels and attempt
to plant a similar mushroom nearby (+/- 2 x,z, +/- y). Light
at both source and destination needs to be low enough. I've
tuned it to be 3-4 spaces from a torch.

Mushrooms will die in full sunlight, but they can survive under
trees and may grow out at night anywhere.

Removed obsolete textures.

Remove unused nodes and provide aliases for them.

Aliased obsolete nodes so no unknown item nodes appear.

Mushrooms die only in full sunlight (light level 15).
2015-12-25 15:37:40 +00:00
paramat 4bb9652c0f Flowers: Add waterlily and add to mapgen 2015-09-17 12:34:17 +01:00
paramat 47c7b0b187 Mushrooms: Rename spore nodes. Single ABM for mushroom growing
Code re-arranged and clarified
2015-08-07 19:07:48 +01:00
paramat 8d1eef025d Flowers: Make mushrooms farmable using spores 2015-08-04 01:00:47 +01:00
jeanpatrick.guerrero@gmail.com 0cf4fd4c18 Add mushrooms 2015-07-17 10:12:00 +02:00
jp f86ac2fdff Optimize textures and model (use *.b3d instead *.x) 2015-02-28 22:33:19 +01:00
RHRhino a90338d40d New flower textures 2014-11-08 23:45:18 +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