Add an [opacity:<r> texture modifier. Makes the base image transparent according...
authorThomas--S <Thomas--S@users.noreply.github.com>
Sat, 2 Jul 2016 15:58:08 +0000 (17:58 +0200)
committerLoic Blot <loic.blot@unix-experience.fr>
Fri, 12 Aug 2016 13:20:30 +0000 (15:20 +0200)
commitf21dae63390aa872062bcfc96fc6817b0fcfe601
tree0a4ed31ac86eed3ca9ca85924473d0a67f8a6db1
parentc4e77b406aa73dd6db79f1183a0a65a32f284111
Add an [opacity:<r> texture modifier. Makes the base image transparent according to the given ratio. r must be between 0 and 255. 0 means totally transparent. 255 means totally opaque. Useful for texture overlaying.
doc/lua_api.txt
src/client/tile.cpp