From a873a3f4f8e4fbaf0c2c55292f790c746000556f Mon Sep 17 00:00:00 2001 From: stujones11 Date: Fri, 26 Jan 2018 19:08:54 +0000 Subject: [PATCH] Include alpha channel reference in MaterialTypeParam --- src/client/tile.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/tile.h b/src/client/tile.h index 66ca8be1d..46a5b4791 100644 --- 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: -- 2.25.1