using masking to simplify texture editing

This commit is contained in:
FaceDeer 2017-01-31 20:03:21 -07:00
parent befd75f8d6
commit 3224ddad38
7 changed files with 2 additions and 2 deletions

@ -11,8 +11,8 @@ local function register_rope_block(multiple, pixels)
string.format("default_wood.png^ropes_%irope.png", multiple), string.format("default_wood.png^ropes_%irope.png", multiple),
"default_wood.png^ropes_side.png", "default_wood.png^ropes_side.png",
"default_wood.png^ropes_side.png", "default_wood.png^ropes_side.png",
string.format("default_wood.png^ropes_%irope_frontback.png", multiple), string.format("default_wood.png^(ropes_%irope.png^[mask:ropes_mask.png)", multiple),
string.format("default_wood.png^ropes_%irope_frontback.png", multiple), string.format("default_wood.png^(ropes_%irope.png^[mask:ropes_mask.png)", multiple),
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 B

BIN
textures/ropes_mask.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B