aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2014-07-25 13:26:03 +0200
committersfan5 <sfan5@live.de>2014-08-22 22:42:04 +0200
commitb19dd922ec69f0dab4ee087f852e0b7fbc6ffaa6 (patch)
tree0ab12e016e115207c0e1bedb2748f12b87c8c1dc /doc
parente4d570eafc455b4ebd31503424421c63b21e2852 (diff)
downloadminetest-b19dd922ec69f0dab4ee087f852e0b7fbc6ffaa6.tar.gz
minetest-b19dd922ec69f0dab4ee087f852e0b7fbc6ffaa6.tar.bz2
minetest-b19dd922ec69f0dab4ee087f852e0b7fbc6ffaa6.zip
Add ^[mask texture modifier
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index d25cd741c..74487edee 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -258,6 +258,10 @@ Advanced texture modifiers:
Crops the texture to a frame of a vertical animation.
Example: default_torch_animated.png^[verticalframe:16:8
+ [mask:<file>
+ Apply a mask to the base image.
+ The mask is applied using binary AND.
+
Sounds
-------
Only OGG Vorbis files are supported.