mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-07 06:06:10 -04:00
Convert fences to NDT_CONNECTED.
This changes the drawtype of fences to NDT_CONNECTED nodebox drawtype. These nodes are drawn by the client with the needed connections on the fly as the scene is drawn. There is no logic needed by mods to modify the nodes. These fences connect to (1) other fences, (2) planks and (3) tree trunks, but nothing else. They do not connect to stone, dirt, wool, etc. This is done by the "connects_to" parameter, which takes groups and node names. Due to the way textures are wrapped, we can make these nodes look a lot better by giving them a special tile. This change requires minetest/minetest#3503.
This commit is contained in:
parent
676822d286
commit
d979293f14
7 changed files with 22 additions and 11 deletions
BIN
mods/default/textures/default_fence_acacia_wood.png
Normal file
BIN
mods/default/textures/default_fence_acacia_wood.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 232 B |
BIN
mods/default/textures/default_fence_aspen_wood.png
Normal file
BIN
mods/default/textures/default_fence_aspen_wood.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 450 B |
BIN
mods/default/textures/default_fence_junglewood.png
Normal file
BIN
mods/default/textures/default_fence_junglewood.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 231 B |
BIN
mods/default/textures/default_fence_pine_wood.png
Normal file
BIN
mods/default/textures/default_fence_pine_wood.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 233 B |
BIN
mods/default/textures/default_fence_wood.png
Normal file
BIN
mods/default/textures/default_fence_wood.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 230 B |
Loading…
Add table
Add a link
Reference in a new issue