aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2016-05-03 20:14:01 +0200
committerest31 <MTest31@outlook.com>2016-05-09 20:48:42 +0200
commit53e9587861fdf8c588f7e51eca522215167250b4 (patch)
tree258deb7537632ff8787e7e05094f2cffdcfd3d73 /doc
parent95446f4b6d16e8b24b3513fcdd028cedebef3f06 (diff)
downloadminetest-53e9587861fdf8c588f7e51eca522215167250b4.tar.gz
minetest-53e9587861fdf8c588f7e51eca522215167250b4.tar.bz2
minetest-53e9587861fdf8c588f7e51eca522215167250b4.zip
Add [resize texture modifier Resizes the texture to the given dimensions.
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index e8e74f674..a4592286a 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -279,6 +279,13 @@ Example:
[combine:16x32:0,0=default_cobble.png:0,16=default_wood.png
+#### `[resize:<w>x<h>`
+Resizes the texture to the given dimensions.
+
+Example:
+
+ default_sandstone.png^[resize:16x16
+
#### `[brighten`
Brightens the texture.