projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86e29ae
)
Include alpha channel reference in MaterialTypeParam
author
stujones11
<stujones111@gmail.com>
Fri, 26 Jan 2018 19:08:54 +0000
(19:08 +0000)
committer
Loic Blot
<loic.blot@unix-experience.fr>
Sat, 22 Dec 2018 16:15:39 +0000
(17:15 +0100)
src/client/tile.h
patch
|
blob
|
history
diff --git
a/src/client/tile.h
b/src/client/tile.h
index 66ca8be1d72390757b50d5034ccff11830aa1d45..46a5b47913e6ac9114153673a6b12c2ea61f3656 100644
(file)
--- a/
src/client/tile.h
+++ b/
src/client/tile.h
@@
-251,6
+251,7
@@
struct TileLayer
case TILE_MATERIAL_BASIC:
case TILE_MATERIAL_WAVING_LEAVES:
case TILE_MATERIAL_WAVING_PLANTS:
+ material.MaterialTypeParam = 0.5;
material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF;
break;
case TILE_MATERIAL_ALPHA: