From e87b410a33639bffe69725ed3ea5d85e45280815 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 817b1aa58..6436a93d3 100644 --- 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: -- 2.25.1