mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-31 18:31:04 +00:00
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.
This commit is contained in:
parent
c4e77b406a
commit
f21dae6339
2 changed files with 40 additions and 0 deletions
|
@ -292,6 +292,16 @@ Example:
|
|||
|
||||
default_sandstone.png^[resize:16x16
|
||||
|
||||
#### `[opacity:<r>`
|
||||
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.
|
||||
|
||||
Example:
|
||||
|
||||
default_sandstone.png^[opacity:127
|
||||
|
||||
#### `[brighten`
|
||||
Brightens the texture.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue