Split vintage block texture into background and foreground.

This commit is contained in:
David Hurka 2021-09-18 13:00:22 +02:00
parent b055570244
commit d0278433c6
3 changed files with 4 additions and 4 deletions

@ -77,7 +77,7 @@ minetest.register_node("morelights_vintage:chain_ceiling_b", {
minetest.register_node("morelights_vintage:block", {
description = S("Vintage Light Block"),
tiles = {"morelights_vintage_block.png"},
tiles = {"morelights_vintage_material.png^morelights_vintage_block.png"},
paramtype = "light",
light_source = minetest.LIGHT_MAX,
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
@ -93,9 +93,9 @@ minetest.register_node("morelights_vintage:smallblock", {
fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4}
},
tiles = {
"morelights_vintage_block.png",
"morelights_vintage_block.png",
"[combine:16x16:0,4=morelights_vintage_block.png"
"morelights_vintage_material.png^morelights_vintage_block.png",
"morelights_vintage_material.png^morelights_vintage_block.png",
"[combine:16x16:0,4=(morelights_vintage_material.png\\^morelights_vintage_block.png)"
},
use_texture_alpha = "opaque",
paramtype = "light",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B