improved model + UV mapping + texture handling for flowerpot

This commit is contained in:
Vanessa Ezekowitz 2015-04-06 16:35:00 -04:00
parent a0b0211427
commit 64c8deb868
6 changed files with 717 additions and 682 deletions

View File

@ -50,7 +50,10 @@ for _, p in ipairs(pot_colors) do
homedecor.register("flower_pot_"..p, {
description = S("Flower Pot ("..p..")"),
mesh = "homedecor_flowerpot.obj",
tiles = { "homedecor_flower_pot_"..p..".png" },
tiles = {
"homedecor_flower_pot_"..p..".png",
"homedecor_potting_soil.png"
},
groups = { snappy = 3, potting_soil=1 },
sounds = default.node_sound_leaves_defaults(),
})

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 604 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 625 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B