Include alpha channel reference in MaterialTypeParam

This commit is contained in:
stujones11 2018-01-26 19:08:54 +00:00 committed by sfan5
parent 1e94a7feaf
commit e87b410a33

@ -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: