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:
1e94a7f
)
Include alpha channel reference in MaterialTypeParam
author
stujones11
<stujones111@gmail.com>
Fri, 26 Jan 2018 19:08:54 +0000
(19:08 +0000)
committer
sfan5
<sfan5@live.de>
Thu, 8 Feb 2018 14:38:49 +0000
(15:38 +0100)
src/client/tile.h
patch
|
blob
|
history
diff --git
a/src/client/tile.h
b/src/client/tile.h
index 817b1aa58595e5ad8b719e97d4b8644a832858ce..6436a93d3501d60700fc968624f633ee973a1ac2 100644
(file)
--- a/
src/client/tile.h
+++ b/
src/client/tile.h
@@
-232,6
+232,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: