add embossing effect to generated hammer heads

Idea by texmex

https://gitlab.com/tacotexmex
https://forum.minetest.net/viewtopic.php?p=349194#p349194
This commit is contained in:
Dirk Sohler 2019-06-12 21:04:35 +02:00
parent 670c4376b4
commit a0b5fdd473
No known key found for this signature in database
GPG Key ID: B9751241BD7D4E1A
6 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@ -64,6 +64,7 @@ uniham.register_hammer = function (short_id, definition)
['+h'] = definition.head,
['+m'] = 'uniham_head_mask.png'
})
texture = '(('..texture..')^(uniham_emboss.png^[opacity:51.2))'
end
if definition.texture then

@ -1,3 +1,3 @@
All textures are licensed unter CC-BY-SA 4.0 or later
All textures are licensed under CC-BY-SA 4.0 or later
https://creativecommons.org/licenses/by-sa/4.0/legalcode

BIN
textures/uniham_emboss.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B