mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-12-01 03:44:00 +01:00
using masking to simplify texture editing
This commit is contained in:
parent
befd75f8d6
commit
3224ddad38
@ -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
BIN
textures/ropes_mask.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 145 B |
Loading…
Reference in New Issue
Block a user