From: stujones11 Date: Fri, 26 Jan 2018 19:08:54 +0000 (+0000) Subject: Include alpha channel reference in MaterialTypeParam X-Git-Tag: 5.0.0~592 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e87b410a33639bffe69725ed3ea5d85e45280815;p=oweals%2Fminetest.git Include alpha channel reference in MaterialTypeParam --- 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: