Include alpha channel reference in MaterialTypeParam

This commit is contained in:
stujones11 2018-01-26 19:08:54 +00:00 committed by Loic Blot
parent 86e29ae586
commit a873a3f4f8
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987

@ -251,6 +251,7 @@ struct TileLayer
case TILE_MATERIAL_BASIC: case TILE_MATERIAL_BASIC:
case TILE_MATERIAL_WAVING_LEAVES: case TILE_MATERIAL_WAVING_LEAVES:
case TILE_MATERIAL_WAVING_PLANTS: case TILE_MATERIAL_WAVING_PLANTS:
material.MaterialTypeParam = 0.5;
material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF; material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF;
break; break;
case TILE_MATERIAL_ALPHA: case TILE_MATERIAL_ALPHA: