aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWuzzy <Wuzzy@disroot.org>2022-10-09 16:26:16 +0200
committersfan5 <sfan5@live.de>2022-10-23 21:58:56 +0200
commit9e186a42bdb8d7b6672df202c7e28e32a6cbfa3b (patch)
tree0ac38bce08dcc7f1e24d26f244c547704cb49ff6 /games
parentc73d79841c21733915a0fcaf9d78ba5ca31d0898 (diff)
downloadminetest-9e186a42bdb8d7b6672df202c7e28e32a6cbfa3b.tar.xz
DevTest: Fix rendering of 2 texture test nodes
Diffstat (limited to 'games')
-rw-r--r--games/devtest/mods/testnodes/textures.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/devtest/mods/testnodes/textures.lua b/games/devtest/mods/testnodes/textures.lua
index 466b854b3..8e9fec515 100644
--- a/games/devtest/mods/testnodes/textures.lua
+++ b/games/devtest/mods/testnodes/textures.lua
@@ -161,12 +161,18 @@ minetest.register_node("testnodes:generated_png_emb", {
description = S("Generated In-Band Mandelbrot PNG Test Node"),
tiles = { png_emb },
+ drawtype = "allfaces", -- required because of transparent pixels
+ use_texture_alpha = "clip",
+ paramtype = "light",
groups = { dig_immediate = 2 },
})
minetest.register_node("testnodes:generated_png_src_emb", {
description = S("Generated In-Band Source Blit Mandelbrot PNG Test Node"),
tiles = { png_emb .. "^testnodes_damage_neg.png" },
+ drawtype = "allfaces", -- required because of transparent pixels
+ use_texture_alpha = "clip",
+ paramtype = "light",
groups = { dig_immediate = 2 },
})
minetest.register_node("testnodes:generated_png_dst_emb", {