summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-08-12 11:52:50 +0200
committerGitHub <noreply@github.com>2020-08-12 11:52:50 +0200
commitfff03931871b68e092e12bfce9056f760e8ec9dd (patch)
tree29bcd2222dca5be37f5db7efd4df807385e7a158 /doc/lua_api.txt
parent1c38027c3a72402d752a8150701a44753e22990e (diff)
downloadminetest-fff03931871b68e092e12bfce9056f760e8ec9dd.tar.gz
minetest-fff03931871b68e092e12bfce9056f760e8ec9dd.tar.bz2
minetest-fff03931871b68e092e12bfce9056f760e8ec9dd.zip
Render nodeboxes with opaque material if possible (#10122)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 8ac3ad7f2..6366a34c3 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -7065,6 +7065,8 @@ Used by `minetest.register_node`.
use_texture_alpha = false,
-- Use texture's alpha channel
+ -- If this is set to false, the node will be rendered fully opaque
+ -- regardless of any texture transparency.
palette = "palette.png",
-- The node's `param2` is used to select a pixel from the image.